Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example for jetpack contact_form_message filter hook
function dd_change_successful_contact_form_submission_email_message($text){
$new_text = '<p>Text to add after email message. <a href="" target="_blank">Visit!</a></p>';
$text = $text . $new_text;
return $text;
add_filter ('contact_form_message', 'dd_change_successful_contact_form_submission_email_message');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment