is_protected_endpoint

FUNCTION wp-includes\load.php (ligne 1171) github
Determines whether we are currently on an endpoint that should be protected against WSODs.

Paramètres

Entrée :
N/A
Sortie :
@return bool True if the current endpoint should be protected.

Utilisation

// Utilisation de la fonction is_protected_endpoint
$result = is_protected_endpoint();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...