Created
February 26, 2016 06:05
-
-
Save SeanChDavis/a83639ae228e7f73d0a7 to your computer and use it in GitHub Desktop.
FES Redirect After Submission
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 // DO NOT COPY THIS LINE | |
// vendor submission redirect | |
function sd_fes_vendor_submission_redirect( $output, $post_id, $form_id ) { | |
$output['redirect_to'] = 'http://google.com/'; | |
return $output; | |
} | |
add_filter( 'fes_add_post_redirect', 'sd_fes_vendor_submission_redirect', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment