woocommerce_helper_api_request_args

woocommerce_helper_api_request_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_helper_api_request_args') is found 1 times:

  • /includes/admin/helper/class-wc-helper-api.php line 64
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
        /**
         * Allow developers to filter the request args passed to wp_safe_remote_request().
         * Useful to remove sslverify when working on a local api dev environment.
         */
        $args = apply_filters( 'woocommerce_helper_api_request_args', $args, $endpoint );
     
        // TODO: Check response signatures on certain endpoints.
        return wp_safe_remote_request( $url, $args );
    }
     
    /**