wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_enabled › WordPress Filter Hooks

Since4.4.0
DeprecatedUse the {@see 'rest_authentication_errors'} filter to restrict access to the REST API.
apply_filters_deprecated(
Parameters:
  • () rest_enabled Whether the REST API is enabled. Default true.
    Required: Yes
Defined at:
Codex:

Filters whether the REST API is enabled.





Source

apply_filters_deprecated(