Skip to content

Instantly share code, notes, and snippets.

@mikeyhoward1977
Last active August 18, 2020 21:05
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 mikeyhoward1977/c13fdecfefa140db1b94df0fbcbf7488 to your computer and use it in GitHub Desktop.
Save mikeyhoward1977/c13fdecfefa140db1b94df0fbcbf7488 to your computer and use it in GitHub Desktop.
Customise the heading text on the EPD registration form
/**
* Replace heading on the demo registration form.
*
* @param string $heading Heading for registration form
* @return string Heading for registration form
*/
function custom_epd_set_demo_heading_for_registration( $heading ) {
$heading = __( 'Register for my Cool Demo' );
return $heading;
} // custom_epd_set_demo_heading_for_registration
add_filter( 'epd_registration_form_heading', 'custom_epd_set_demo_heading_for_registration' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment