Last active
August 29, 2015 14:01
-
-
Save ckpicker/4d570fb29217df9ca603 to your computer and use it in GitHub Desktop.
Events Calendar 3.5 // Example of how to use filters to modify HTML generated by a function
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
add_filter('tribe_events_the_previous_month_link', 'change_prev_link', 10, 3); | |
function change_prev_link( $html ) { | |
//Do some code to transform the HTML Here | |
//Return the transformed HTML to be displayed | |
return $html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment