woocommerce_webhook_http_args, $args, null, $this->get_id(

woocommerce_webhook_http_args, $args, null, $this->get_id(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_webhook_http_args, $args, null, $this->get_id(') is found 1 times:

  • /includes/class-wc-webhook.php line 642
    		 * @param null  $arg The first hook argument. Null since this is a ping.
    		 * @param int   $webhook_id The webhook ID.
    		 * @return array The filtered HTTP arguments.
    		 */
    		$http_args = apply_filters( 'woocommerce_webhook_http_args', $args, null, $this->get_id() );
    
    		$test          = wp_safe_remote_post( $this->get_delivery_url(), $http_args );
    		$response_code = wp_remote_retrieve_response_code( $test );
    
    		if ( is_wp_error( $test ) ) {
    			/* translators: error message */