Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* @um_user_after_updating_profile
*/
function doggycom_redirect_after_updating_profile( $to_update ){
exit( wp_redirect( remove_query_arg( array('profiletab','um_action') ) ) );
}
add_action('um_user_after_updating_profile','doggycom_redirect_after_updating_profile',10,1);
?>
@fixmyinfo
Copy link

fixmyinfo commented Mar 28, 2019

Will this work to redirect to a different page after update? No way to simply display a message after update to profile? If redirecting, where do I set the url to redirect to? Thanks much...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment