Add ticket form to list view (WooTickets 3.0)
BakerMan Jul 9th, 2013 457 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- /* Adding this to your theme's functions.php file should cause the
- * WooTickets form to display within list view and other locations
- * using the tribe_events_after_the_content hook.
- * If you wish it only to display in a subset of those views you
- * could add some conditional logic to achieve that.
- add_action('tribe_events_after_the_content', array(TribeWooTickets::get_instance(), 'front_end_tickets_form'));
RAW Paste Data