Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created March 24, 2016 11:02
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/da3d16507e1baaf53a40 to your computer and use it in GitHub Desktop.
Save Pebblo/da3d16507e1baaf53a40 to your computer and use it in GitHub Desktop.
Load a custom ticket selector template from your theme (or child theme) root directory.
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_filter ('FHEE__EE_Ticket_Selector__display_ticket_selector__template_path', 'my_custom_ticket_selector_template_location');
function my_custom_ticket_selector_template_location(){
return get_stylesheet_directory() . '/ticket_selector_chart.template.php';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment