Created
March 8, 2019 14:29
-
-
Save juanfra/64d924f6986ae7fd3eccc6fdbb923e9f to your computer and use it in GitHub Desktop.
Replace EDT with EST in the single event details.
This file contains hidden or 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 | |
add_filter( 'tribe_events_event_schedule_details_inner', 'replace_edt_with_est', 50, 2 ); | |
function replace_edt_with_est( $html, $event_id ) { | |
return str_replace( 'EDT', 'EST', $html ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment