WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_jsonp_enabled

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/load.php apply_filters 1723 /**
* Checks whether current request is a JSONP request, or is expecting a JSONP response.
*
* @since 5.2.0
*
* @return bool True if JSONP request, false otherwise.
*/
wp-includes/rest-api/class-wp-rest-server.php apply_filters 302 /**
* Filters whether JSONP is enabled for the REST API.
*
* @since 4.4.0
*
* @param bool $jsonp_enabled Whether JSONP is enabled. Default true.
*/

Hook Parameters

Parameter Type Name Description
bool $jsonp_enabled Whether JSONP is enabled. Default true.