Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active September 28, 2015 22:28
Show Gist options
  • Save lorenzocaum/28ccc3b92d38e1dbc046 to your computer and use it in GitHub Desktop.
Save lorenzocaum/28ccc3b92d38e1dbc046 to your computer and use it in GitHub Desktop.
How to change the pre-approval messaging in registration checkout for Event Espresso 4

Add the sample code below to your child theme's functions.php file or in a site specific plugin. Then change REPLACE ME to the new messaging that you would like to display to your attendees/registrants.

<?php
//* Do NOT include the opening php tag

//* Adjust the pre-approval messaging in registration checkout
add_filter ('FHEE__EE_SPCO_Reg_Step_Payment_Options___events_requiring_pre_approval__events_requiring_pre_approval_msg', 'ee_custom_messaging_pre_approval_registration_checkout');

function ee_custom_messaging_pre_approval_registration_checkout(){
    return 'REPLACE ME';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment