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: |
|
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.
Related Functions: is_protected_endpoint, is_protected_meta, wp_is_rest_endpoint, add_rewrite_endpoint, is_protected_ajax_action, get_oembed_endpoint_url