Created
January 24, 2017 19:40
-
-
Save joshfeck/5a394be56ef24d3a41efe98bd2eda760 to your computer and use it in GitHub Desktop.
Customize the "Required Ticket" text for Event Espresso 4
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, except of course if you're starting with a blank file | |
add_filter( | |
'FHEE__ticket_selector_chart_template__ticket_required_message', | |
'my_custom_message_for_required_tickets' | |
); | |
function my_custom_message_for_required_tickets( $text ) { | |
$text = 'This ticket is required.'; | |
return $text; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment