Summery Summery
Checks whether current request is a JSON request, or is expecting a JSON response.
Syntax Syntax
Return Return
(bool) True if Accepts
or Content-Type
headers contain application/json
. False otherwise.
Source Source
File: wp-includes/load.php
array( 'code' => 'scrape_nonce_failure', 'message' => __( 'Scrape nonce check failed. Please try again.' ), ) ); echo "###### wp_scraping_result_end:$key ######"; die(); } if ( ! defined( 'WP_SANDBOX_SCRAPING' ) ) { define( 'WP_SANDBOX_SCRAPING', true ); } register_shutdown_function( 'wp_finalize_scraping_edited_file_errors', $key ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |