apply_filters( 'rest_jsonp_enabled', bool $jsonp_enabled )

Filters whether JSONP is enabled for the REST API.

Parameters Parameters


(bool) Whether JSONP is enabled. Default true.

Top ↑

Source Source

File: wp-includes/rest-api/class-wp-rest-server.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.