Skip to content

Instantly share code, notes, and snippets.

@geoffgraham
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoffgraham/eb1789cc42291a23eb36 to your computer and use it in GitHub Desktop.
Save geoffgraham/eb1789cc42291a23eb36 to your computer and use it in GitHub Desktop.
Events Calendar 3.9 // Move WooTickets form above event description, check first for class
if(class_exists('TribeWooTickets')) {
remove_action( 'tribe_events_single_event_after_the_meta', array( TribeWooTickets::get_instance(), 'front_end_tickets_form'), 5 );
}
if(class_exists('TribeWooTickets')) {
add_action( 'tribe_events_single_event_before_the_content', array( TribeWooTickets::get_instance(), 'front_end_tickets_form') );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment