Created
January 20, 2015 17:11
-
-
Save SeanChDavis/c66a608b613cf69fa9ae to your computer and use it in GitHub Desktop.
FES Submission Form Success Redirect
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 // DON'T COPY THIS LINE | |
function sd_fes_submission_redirect( $response, $post_id, $form_id ) { | |
$response['redirect_to'] = 'http://SITEURL.com/'; | |
return $response; | |
} | |
add_filter( 'fes_add_post_redirect', 'sd_fes_submission_redirect', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment