Created
August 3, 2017 23:03
-
-
Save sewmyheadon/3761aa178b09653bc4ced54121d14187 to your computer and use it in GitHub Desktop.
Loads a custom ticket selector template. The original is at /event-espresso/modules/ticket-selector/templates/standard_ticket_selector.php
This file contains hidden or 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
/** | |
* Add a custom ticket selector | |
*/ | |
add_filter ('FHEE__EE_Ticket_Selector__display_ticket_selector__template_path', 'tip_custom_ticket_selector_template_location'); | |
function tip_custom_ticket_selector_template_location(){ | |
return get_stylesheet_directory() . '/tip_ticket_selector.template.php'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment