Created
April 3, 2017 14:42
-
-
Save Pebblo/2b9317b798d3b002281c7b16d478f77e to your computer and use it in GitHub Desktop.
An example of how to filter the 'Upcoming events' text shown when using the ESRPESSO_EVENTS shortcode. Change the Your custom text string within the quotes to your own.
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 //Please do not include the opening PHP tag if you already have one | |
function tw_ee_filter_upcoming_events_h1() { | |
return 'Your custom text'; | |
} | |
add_filter( 'FHEE__archive_espresso_events_template__upcoming_events_h1', 'tw_ee_filter_upcoming_events_h1' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment