wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



is_protected_endpoint › Les Filtres WordPress

Depuis5.2.0
Dépréciéen/a
apply_filters( 'is_protected_endpoint', false )
Paramètres:
  • (bool) $is_protected_endpoint Whether the currently requested endpoint is protected. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether the current request is against a protected endpoint.

This filter is only fired when an endpoint is requested which is not already protected by WordPress core. As such, it exclusively allows providing further protected endpoints in addition to the admin backend, login pages and protected Ajax actions.





Source

return (bool) apply_filters( 'is_protected_endpoint', false );