daily pastebin goal
5%
SHARE
TWEET

Move EB Ticket Form

BakerMan Mar 28th, 2014 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'init', 'reposition_ebform' );
  2.  
  3. function reposition_ebform() {
  4.         if ( ! class_exists( 'Event_Tickets_PRO' ) ) return;
  5.  
  6.         $eb = Event_Tickets_PRO::instance();
  7.         remove_action( 'tribe_events_single_event_after_the_meta', array( $eb, 'displayEventBriteTicketForm' ), 9 );
  8.         add_action( 'tribe_events_single_event_after_the_content', array( $eb, 'displayEventBriteTicketForm' ) );
  9. }
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
 
Top