Created
February 6, 2018 10:46
-
-
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.
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_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