Skip to content

Instantly share code, notes, and snippets.

@joshfeck
Created January 24, 2017 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshfeck/5a394be56ef24d3a41efe98bd2eda760 to your computer and use it in GitHub Desktop.
Save joshfeck/5a394be56ef24d3a41efe98bd2eda760 to your computer and use it in GitHub Desktop.
Customize the "Required Ticket" text for Event Espresso 4
<?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