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.8.7.0

apply_filters('woocommerce_helper_api_request_args') is found 1 times:

  • /includes/admin/helper/class-wc-helper-api.php line 64
    		/**
    		 * 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 );
    	}
    
    	/**