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

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 );
    	}
    
    	/**