Created
December 20, 2018 12:27
-
-
Save Pebblo/fae7eb5a8869bb11b703ad72c3eb2e1f to your computer and use it in GitHub Desktop.
Example of how to add text to the datetime list.
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 od not include the opening PHP tag if you already have one. | |
add_filter( | |
'FHEE__espresso_list_of_event_dates__datetime_html', | |
'add_text_after_datetime_list', | |
20, | |
2 | |
); | |
function add_text_after_datetime_list( $html, $datetime ) { | |
$html .= '<br><span class="ee-datetimes-timezone">'; | |
$html .= 'Pacifict Standard Time (PST)'; | |
$html .= '</span>'; | |
return $html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment