Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created February 6, 2018 10:46
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/bb6fd939e5c9d9814f067813c9bbb27b to your computer and use it in GitHub Desktop.
Save Pebblo/bb6fd939e5c9d9814f067813c9bbb27b to your computer and use it in GitHub Desktop.
Example of how to change the 'The following events do not require payment at this time…' text shown when events are set to not approved. Change 'Add your custom text here' to whatever you want the section to show.
<?php //Please do not include the opening PHP tag if you already have one
function tw_ee_custom_pre_approval_msg( $original_text ) {
return 'Add your custom text here';
}
add_filter('FHEE__EE_SPCO_Reg_Step_Payment_Options___events_requiring_pre_approval__events_requiring_pre_approval_msg','tw_ee_custom_pre_approval_msg');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment