apply_filters( 'rest_jsonp_enabled', bool $jsonp_enabled )
Filters whether JSONP is enabled for the REST API.
Parameters
- $jsonp_enabled
-
(bool) Whether JSONP is enabled. Default true.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_jsonp_enabled