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: |
|
| Defined at: | |
| Codex: |
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