Created
December 20, 2017 05:55
-
-
Save cliffordp/a07b30dbc08fcce0f00e1f3b57896e64 to your computer and use it in GitHub Desktop.
The Events Calendar PRO: Disable all "See All" text and links for recurring events.
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 | |
/** | |
* The Events Calendar PRO: Disable all "See All" text and links for | |
* recurring events. | |
* | |
* @link https://gist.github.com/cliffordp/a07b30dbc08fcce0f00e1f3b57896e64 | |
*/ | |
add_action( 'init', function () { | |
if ( class_exists( 'Tribe__Events__Pro__Main' ) ) { | |
Tribe__Events__Pro__Main::instance()->disable_recurring_info_tooltip(); | |
} | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment