Created
July 6, 2015 19:07
-
-
Save SeanChDavis/b0591a2ce37f06a1104e to your computer and use it in GitHub Desktop.
EDD FES - Redirect FES Login Form Success
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
function sd_fes_submission_redirect( $response, $userdata ) { | |
$response['redirect_to'] = 'http://google.com/'; | |
return $response; | |
} | |
add_filter( 'fes_login_form_success_redirect', 'sd_fes_submission_redirect', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment