woocommerce_webhook_order_payload_filters

woocommerce_webhook_order_payload_filters

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_webhook_order_payload_filters') is found 1 times:

  • /includes/class-wc-webhook.php line 386
    				$payload = WC()->api->WC_API_Customers->get_customer( $resource_id );
    				break;
    
    			case 'order':
    				$payload = WC()->api->WC_API_Orders->get_order( $resource_id, null, apply_filters( 'woocommerce_webhook_order_payload_filters', array() ) );
    				break;
    
    			case 'product':
    				// Bulk and quick edit action hooks return a product object instead of an ID.
    				if ( 'updated' === $event && is_a( $resource_id, 'WC_Product' ) ) {
    					$resource_id = $resource_id->get_id();