wpseek.com
WordPress开发者和主题制作者的搜索引擎
is_protected_endpoint › WordPress过滤钩子
Since5.2.0
已弃用n/a
› apply_filters( 'is_protected_endpoint', false )
参数: |
|
定义在: |
|
文档: |
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