Last active
November 19, 2018 17:57
-
-
Save landbryo/a4acd5c1f758c831532f7dd1aab2d79f to your computer and use it in GitHub Desktop.
Customize the from address for Enfold forms.
This file contains hidden or 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
///////////////////////////// | |
// ENFOLD FORM CUSTOM FROM // | |
///////////////////////////// | |
function avf_form_from_mod($from, $new_post, $form_params) { | |
$from = "[email protected]"; | |
return $from; | |
} | |
add_filter('avf_form_from', 'avf_form_from_mod', 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment