Skip to content

Instantly share code, notes, and snippets.

@UserMetaPro
Created August 1, 2014 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UserMetaPro/9ece188e2b462268e0d6 to your computer and use it in GitHub Desktop.
Save UserMetaPro/9ece188e2b462268e0d6 to your computer and use it in GitHub Desktop.
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' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment