Created
July 17, 2017 17:00
-
-
Save andrasguseo/91c86e787b8fc09514e1c52bb7323b2a to your computer and use it in GitHub Desktop.
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 below function will change the url of "All Events" and | |
* links that point back to the starting page of The Events Calendar | |
* (by default http://domain.com/events | |
* | |
* Plugins: The Events Calendar | |
* Author: Barry Hughes | |
* Last Updated: July 17, 2017 | |
*/ | |
add_filter( 'tribe_get_events_link', function() { | |
return 'http://example.com'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment