woocommerce_fulfillments_auto_fulfill_products
woocommerce_fulfillments_auto_fulfill_products
Appears in: woocommerce.10.1.2
Hook Type: filter
Displaying hooks found in version: woocommerce.10.1.2apply_filters('woocommerce_fulfillments_auto_fulfill_products') is found 1 times:
- /src/Internal/Fulfillments/FulfillmentsSettings.php line 121
* @param \WC_Order $order The order object. * * @return array Filtered list of product or variant ID's to auto-fulfill */ $auto_fulfill_product_ids = apply_filters( 'woocommerce_fulfillments_auto_fulfill_products', array(), $order ); $auto_fulfill_items = array(); foreach ( $order->get_items() as $item ) { /** * Get the product associated with the item. *