Skip to content

Instantly share code, notes, and snippets.

@SeanChDavis
Created February 26, 2016 06:05
Show Gist options
  • Save SeanChDavis/a83639ae228e7f73d0a7 to your computer and use it in GitHub Desktop.
Save SeanChDavis/a83639ae228e7f73d0a7 to your computer and use it in GitHub Desktop.
FES Redirect After Submission
<?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