wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_enabled › WordPress过滤钩子
Since4.4.0
已弃用Use the {@see 'rest_authentication_errors'} filter to
restrict access to the REST API.
› apply_filters_deprecated(
| 参数: |
|
| 定义在: | |
| 文档: |
Filters whether the REST API is enabled.
Related Functions: wp_revisions_enabled, get_enclosed, rest_api_loaded, disabled, is_embed, rest_url
Related Hooks: rest_jsonp_enabled, xmlrpc_enabled, get_enclosed, rest_oembed_ttl, rest_comment_trashable