Add ticket form to list view (WooTickets 3.0)

BakerMan Jul 9th, 2013 474 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Adding this to your theme's functions.php file should cause the
  2.  * WooTickets form to display within list view and other locations
  3.  * using the tribe_events_after_the_content hook.
  4.  *
  5.  * If you wish it only to display in a subset of those views you
  6.  * could add some conditional logic to achieve that.
  7.  */
  8. add_action('tribe_events_after_the_content', array(TribeWooTickets::get_instance(), 'front_end_tickets_form'));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand