Changes the default Events header on the production details page.
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 | |
/** | |
* Changes the default Events header on the production details page. | |
* | |
* @param string $header The default Events header. | |
* @return string The new Events header. | |
*/ | |
function wpt_change_events_on_production_page_header($header) { | |
return '<h4>Showtimes</h4>'; | |
} | |
add_filter('wpt_production_page_events_header', 'wpt_change_events_on_production_page_header'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment