jetpack_sandbox_add_profile_parameter

jetpack_sandbox_add_profile_parameter

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('jetpack_sandbox_add_profile_parameter') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-server-sandbox.php line 89
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    * @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 );