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(
参数:
  • () rest_enabled Whether the REST API is enabled. Default true.
    Required: Yes
定义在:
文档:

Filters whether the REST API is enabled.





源码

apply_filters_deprecated(