Last active
September 3, 2015 17:40
-
-
Save SeanChDavis/cf56d3d3a9653d03002f to your computer and use it in GitHub Desktop.
EDD FES Registration 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 // 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