wpseek.com
A WordPress-centric search engine for devs and theme authors



is_protected_endpoint › WordPress Filter Hooks

Since5.2.0
Deprecatedn/a
apply_filters( 'is_protected_endpoint', false )
Parameters:
  • (bool) $is_protected_endpoint Whether the currently requested endpoint is protected. Default false.
    Required: Yes
Defined at:
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 );