granted_super_admin

granted_super_admin

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

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('granted_super_admin') is found 1 times:

  • /wp-includes/capabilities.php line 1220
    		 * @since 3.0.0
    		 *
    		 * @param int $user_id ID of the user that was granted Super Admin privileges.
    		 */
    		do_action( 'granted_super_admin', $user_id );
    		return true;
    	}
    	return false;
    }
    
    /**