-
-
Save gorobey/a219b5b21f6451a0c1b4b5372ead1210 to your computer and use it in GitHub Desktop.
Custom Contact Form 7 action URL
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 | |
// Place this in your functions.php file | |
add_filter('wpcf7_form_action_url', 'wpcf7_custom_form_action_url'); | |
function wpcf7_custom_form_action_url(){ | |
return 'send.php';// replace this with the new action url (excluding the 'http://') | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment