woocommerce_fulfillment_created_notification, $order_id, $fulfillment, wc_get_order( $order_id
woocommerce_fulfillment_created_notification, $order_id, $fulfillment, wc_get_order( $order_id
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_fulfillment_created_notification, $order_id, $fulfillment, wc_get_order( $order_id') is found 2 times:
- /src/Admin/Features/Fulfillments/OrderFulfillmentsRestController.php line 306
* Trigger the fulfillment created notification on creating a fulfilled fulfillment. * * @since 10.1.0 */ do_action( 'woocommerce_fulfillment_created_notification', $order_id, $fulfillment, wc_get_order( $order_id ) ); FulfillmentsTracker::track_fulfillment_notification_sent( 'fulfillment_created', $fulfillment->get_id(), $order_id ); } } catch ( ApiException $ex ) { FulfillmentsTracker::track_fulfillment_validation_error( 'create', $ex->getErrorCode(), $this->check_request_source( $request ) ); return $this->prepare_error_response( $ex->getErrorCode(), - /src/Admin/Features/Fulfillments/OrderFulfillmentsRestController.php line 444
* Trigger the fulfillment created notification on fulfilling a fulfillment. * * @since 10.1.0 */ do_action( 'woocommerce_fulfillment_created_notification', $order_id, $fulfillment, wc_get_order( $order_id ) ); FulfillmentsTracker::track_fulfillment_notification_sent( 'fulfillment_created', $fulfillment->get_id(), $order_id ); } elseif ( $next_state ) { /** * Trigger the fulfillment updated notification on updating a fulfillment. * * @param int $order_id The order ID.