Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active January 27, 2017 22:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorenzocaum/b0fef298c2ecb2965353 to your computer and use it in GitHub Desktop.
Save lorenzocaum/b0fef298c2ecb2965353 to your computer and use it in GitHub Desktop.
Adjust the congratulations messaging on the thank you page for Event Espresso 4 #optimization

Add the sample code below to your child theme's functions.php file or in a site specific plugin.

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

//* Update the messaging for the congratulations messaging that appears at the top of the thank you page
add_filter( 'FHEE__thank_you_page_overview_template__order_conf_desc', 'ee_change_thank_you_page_congratulations_messaging' );
function ee_change_thank_you_page_congratulations_messaging() {

 return 'Your registration has been received! View your registration details by scrolling down.';
}