Customize the default confirmation message shown to new members in Paid Membership Pro on child sites.
Snippet Type
Execute on Child Sites
Snippet
// remove the default confirmation text
remove_filter( 'pmpro_confirmation_message', 'pmpro_pmpro_confirmation_message' );
// add new confirmation text
function my_pmpro_confirmation_message( $message ) {
$message = '';
$message .= '<p>This is a new confirmation message.</p>';
return $message;
}
add_filter( 'pmpro_confirmation_message', 'my_pmpro_confirmation_message', 10, 1 );