Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Code that adds buy 5 tickets button next to lucky dip */
- add_action( 'wc_lottery_before_ticket_numbers', 'wpgenie_add_shortcode_lottery_lucky_dip_buton', 40 );
- function wpgenie_add_shortcode_lottery_lucky_dip_buton(){
- echo do_shortcode( '[lottery_lucky_dip_buton qty="5" label="buy 5 tickets"]' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement