Created
November 22, 2022 08:37
-
-
Save Asikur22/1df75896ef6e6a0d96afd93f66821dc3 to your computer and use it in GitHub Desktop.
The Events Calendar Remove Hook
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
add_action( 'init', function () { | |
$trive_events = tribe( 'tec.iCal' ); | |
remove_action( 'tribe_events_single_event_after_the_content', [ $trive_events, 'single_event_links' ] ); | |
$trive_events_pro = Tribe__Events__Pro__Main::instance(); | |
remove_action( 'tribe_events_single_event_meta_primary_section_end', array( $trive_events_pro->single_event_meta, 'additional_fields' ) ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment