Created
January 8, 2015 00:24
-
-
Save jesseeproductions/3ece7ab52fd284ecab34 to your computer and use it in GitHub Desktop.
The Events Calender Pro - Move Related Events Below Content
This file contains 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
/** | |
* The Events Calender Pro - Move Related Events Below Content | |
* @3.9 | |
*/ | |
if ( class_exists( 'TribeEventsPro' ) ) { | |
$related_events = array( TribeEventsPro::instance(), 'register_related_events_view' ); | |
remove_action('tribe_events_single_event_after_the_meta', $related_events ); | |
add_action('tribe_events_single_event_after_the_content', $related_events ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment