Skip to content

Instantly share code, notes, and snippets.

@SeanChDavis
Last active September 3, 2015 17:40
Show Gist options
  • Save SeanChDavis/cf56d3d3a9653d03002f to your computer and use it in GitHub Desktop.
Save SeanChDavis/cf56d3d3a9653d03002f to your computer and use it in GitHub Desktop.
EDD FES Registration Redirect
<?php // DO NOT COPY THIS LINE
// vendor registration redirect
function sd_fes_vendor_registration_redirect( $response, $post_id, $form_id ) {
$response['redirect_to'] = 'http://google.com/';
return $response;
}
add_filter( 'fes_register_form_pending_vendor', 'sd_fes_vendor_registration_redirect', 10, 3 );
add_filter( 'fes_register_form_frontend_vendor', 'sd_fes_vendor_registration_redirect', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment