Introduces the woocommerce_webhook_order_payload_filters filter

This commit is contained in:
Claudio Sanches 2016-08-18 13:22:13 -03:00
parent fb585e9633
commit 9da3f79f41
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class WC_Webhook {
break;
case 'order':
$payload = WC()->api->WC_API_Orders->get_order( $resource_id );
$payload = WC()->api->WC_API_Orders->get_order( $resource_id, null, apply_filters( 'woocommerce_webhook_order_payload_filters', array() ) );
break;
case 'product':