granted_super_admin

granted_super_admin

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('granted_super_admin') is found 1 times:

  • /wp-includes/capabilities.php line 1141
    		 * @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;
    }
    
    /**