Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created August 21, 2017 14:28
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/10513f380865d77d5b05b3a2654a1a1b to your computer and use it in GitHub Desktop.
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'
<?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