wpmu_delete_user

wpmu_delete_user

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.3.2

do_action('wpmu_delete_user') is found 1 times:

  • /wp-admin/includes/ms.php line 166
    	 * @since MU (3.0.0)
    	 *
    	 * @param int $id ID of the user about to be deleted from the network.
    	 */
    	do_action( 'wpmu_delete_user', $id );
    
    	$blogs = get_blogs_of_user( $id );
    
    	if ( ! empty( $blogs ) ) {
    		foreach ( $blogs as $blog ) {
    			switch_to_blog( $blog->userblog_id );
    

See this hook used in plugins: