Skip to main content
code reformated
Source Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

Try this code Refresh page after update_user_meta

Try this code Refresh page after update_user_meta

add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
  echo '<script>location.reload();</script>';
}

Try this code Refresh page after update_user_meta

add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
  echo '<script>location.reload();</script>';
}

Try this code Refresh page after update_user_meta

add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
  echo '<script>location.reload();</script>';
}

Try this code Refresh page after update_user_meta

   add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
    echo '<script>location.reload();</script>';
}

Try this code Refresh page after update_user_meta

   add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
    echo '<script>location.reload();</script>';
}

Try this code Refresh page after update_user_meta

add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
  echo '<script>location.reload();</script>';
}
Source Link

Try this code Refresh page after update_user_meta

   add_action( 'user_meta_after_user_update', 'refreshPage' );
function refreshPage() {
    echo '<script>location.reload();</script>';
}