granted_super_admin

granted_super_admin

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

See hook in core

Displaying hooks found in version: wordpress-6.6.1

do_action('granted_super_admin') is found 1 times:

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