Add ticket form to list view (WooTickets 3.0)

Jul 9th, 2013
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