wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_is_rest_endpoint › WordPress Filter Hooks
Since6.5.0
Deprecatedn/a
› apply_filters( 'wp_is_rest_endpoint', $is_rest_endpoint )
Parameters: |
|
Defined at: |
|
Codex: |
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, wp_insert_post, add_rewrite_endpoint, wp_kses_post, wp_ajax_rest_nonce