wpsc_dump_get_request()
No Hooks.
Returns
null. Nothing (null).
Usage
wpsc_dump_get_request();
wpsc_dump_get_request() wpsc dump get request code WPSCache 3.1.1
function wpsc_dump_get_request() {
static $string;
if ( isset( $string ) ) {
return $string;
}
if ( function_exists( 'wp_json_encode' ) ) {
$string = wp_json_encode( $_GET, JSON_UNESCAPED_SLASHES ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
} else {
$string = json_encode( $_GET, JSON_UNESCAPED_SLASHES ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.WP.AlternativeFunctions.json_encode_json_encode
}
return $string;
}