revoked_super_admin

revoked_super_admin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('revoked_super_admin') is found 1 times:

  • /wp-includes/capabilities.php line 1269
    			 * @since 3.0.0
    			 *
    			 * @param int $user_id ID of the user Super Admin privileges were revoked from.
    			 */
    			do_action( 'revoked_super_admin', $user_id );
    			return true;
    		}
    	}
    	return false;
    }