Uma área de pesquisa sobre o WordPress para devs e autores do tema



is_protected_endpoint ›

Desde5.2.0
Obsoleton/a
apply_filters( 'is_protected_endpoint', false )
Parâmetros:
  • (bool) $is_protected_endpoint Whether the currently requested endpoint is protected. Default false.
    Required: Yes
Definido em:
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.





Fonte

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