Created
April 12, 2017 09:53
-
-
Save Pebblo/b3c163a5f1e6cb0e2012e8df4e4353e0 to your computer and use it in GitHub Desktop.
Example of how to change the EE ticket selector 'Register Now' button text.
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 if you already have one | |
function my_custom_button_text( $btn_text, $event ) { | |
return 'Buy Now'; | |
} | |
add_filter( 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__btn_text', 'my_custom_button_text', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment