Created
May 12, 2017 23:45
-
-
Save GeoffEW/89a374aa190422f7fc1f56eb14e27a67 to your computer and use it in GitHub Desktop.
Tribe, remove recurrence from new event and edit event screens
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
<?php | |
/* Tribe, remove recurrence from new event and edit event screens */ | |
function tribe_remove_recurrence ( ) { | |
remove_action( 'tribe_events_date_display', array( 'Tribe__Events__Pro__Recurrence__Meta', 'loadRecurrenceData' ) ); | |
} | |
add_action( 'admin_init', 'tribe_remove_recurrence' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment