jetpack_sandbox_add_profile_parameter, false, $url, $host
jetpack_sandbox_add_profile_parameter, false, $url, $host
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_sandbox_add_profile_parameter, false, $url, $host') is found 1 times:
- /jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php line 89
* @param bool $add_parameter Whether to add the parameter to the request or not. Default is to false. * @param string $url The URL of the request being made. * @param string $host The host of the request being made. */ if ( apply_filters( 'jetpack_sandbox_add_profile_parameter', false, $url, $host ) ) { $url = add_query_arg( 'XDEBUG_PROFILE', 1, $url ); // URL has been modified since the signature was created. We'll need a new one. $original_url = add_query_arg( 'XDEBUG_PROFILE', 1, $original_url ); $new_signature = $this->get_new_signature( $original_url, $headers, $data, $method );