Redirection after profile update

Put following code to functions.php for redirecting user after profile update.

add_action( 'user_meta_after_user_update', 'user_meta_after_user_update_function' );
function user_meta_after_user_update_function( $response ){
    global $userMeta;
    echo $userMeta->jsRedirect( 'http://example.com' );
}

Leave a Reply

Subscribe to our newsletter