Forked from theeventscalendar/move-edd-tickets-form.txt
Last active
December 1, 2015 14:35
-
-
Save elimn/0fc9bb9848dc5afbba40 to your computer and use it in GitHub Desktop.
MT | TEC | Move EDD Tickets Form above Event content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Move EDD Tickets Form above Event content | |
*/ | |
if ( class_exists('Tribe__Tickets_Plus__Commerce__EDD__Main') ) { | |
remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets_Plus__Commerce__EDD__Main::get_instance(), 'front_end_tickets_form'), 5 ); | |
add_action( 'tribe_events_single_event_before_the_content', array( Tribe__Tickets_Plus__Commerce__EDD__Main::get_instance(), 'front_end_tickets_form') ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment