Delay action unltil the untill previous (hoocked) action is completed
Hooks fire in order so you can lower the priority to make it run after a previous one. However, if it is a different hook altogether you will have to see in which order they run to see which one you need to use. add_action( ‘profile_update’, ‘my_custom_function’, 15, 2 ); function my_custom_function( $user_id ) { … Read more