wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



is_protected_endpoint › WordPress Filter Hooks

Seit5.2.0
Veraltetn/v
apply_filters( 'is_protected_endpoint', false )
Parameter:
  • (bool) $is_protected_endpoint Whether the currently requested endpoint is protected. Default false.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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