wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_is_rest_endpoint › WordPress过滤钩子
Since6.5.0
已弃用n/a
› apply_filters( 'wp_is_rest_endpoint', $is_rest_endpoint )
参数: |
|
定义在: |
|
文档: |
Filters whether a REST endpoint request is currently being handled.
This may be a standalone REST API request, or an internal request dispatched from within a regular page load.
Related Functions: wp_is_rest_endpoint, is_protected_endpoint, add_rewrite_endpoint, wp_insert_post, wp_ajax_rest_nonce, wp_kses_post