Last active
May 15, 2021 22:19
Example for jetpack contact_form_message filter hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function dd_change_successful_contact_form_submission_email_message($text){ | |
$new_text = '<p>Text to add after email message. <a href="https://example.com/" target="_blank">Visit Example.com!</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