woocommerce_fulfillment_created_notification

woocommerce_fulfillment_created_notification

Appears in:
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.10.1.2

do_action('woocommerce_fulfillment_created_notification') is found 2 times:

  • /src/Internal/Fulfillments/OrderFulfillmentsRestController.php line 268
    				 * 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 ) );
    			}
    		} catch ( ApiException $ex ) {
    			return $this->prepare_error_response(
    				$ex->getErrorCode(),
    				$ex->getMessage(),
    				WP_Http::BAD_REQUEST
    
  • /src/Internal/Fulfillments/OrderFulfillmentsRestController.php line 370
    					 * 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 ) );
    				} elseif ( $next_state ) {
    					/**
    					 * Trigger the fulfillment updated notification on updating a fulfillment.
    					 *
    					 * @since 10.1.0
    					 */
    

See this hook used in plugins: