-
-
Save Pebblo/10513f380865d77d5b05b3a2654a1a1b to your computer and use it in GitHub Desktop.
Using filters within Event Espresso to change some of the strings during registration to 'Next'
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 tw_return_next_string() { | |
return 'Next'; | |
} | |
add_filter('FHEE__EE_SPCO_Reg_Step__set_submit_button_text___submit_button_text', 'tw_return_next_string'); | |
add_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit__btn_text', 'tw_return_next_string', 20, 2); | |
add_filter('FHEE__EED_Multi_Event_Registration__proceed_to_registration_btn_txt', 'tw_return_next_string'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment