Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created April 10, 2018 19:34
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 Pebblo/37387f68aa6640ef67ba2bfe40a9fd55 to your computer and use it in GitHub Desktop.
Save Pebblo/37387f68aa6640ef67ba2bfe40a9fd55 to your computer and use it in GitHub Desktop.
Example of how to change the 'Qty' header and ' / Bundle' text shown on the ticket selector.
<?php //Please do not add this opening PHP tag if you already have one
function tw_qty_header_change() {
return 'Ppl';
}
add_filter('FHEE__ticket_selector_chart_template__table_header_qty', 'tw_qty_header_change' );
function tw_bundle_text_change() {
return ' / Package';
}
add_filter('FHEE__ticket_selector_chart_template__per_ticket_bundle_text', 'tw_bundle_text_change' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment