Automattic\WooCommerce\Admin\Features\Fulfillments

FulfillmentOrderNotes::registerpublicWC 1.0

Register hooks for fulfillment order notes.

Method of the class: FulfillmentOrderNotes{}

No Hooks.

Returns

null. Nothing (null).

Usage

$FulfillmentOrderNotes = new FulfillmentOrderNotes();
$FulfillmentOrderNotes->register(): void;

FulfillmentOrderNotes::register() code WC 11.0.1

public function register(): void {
	add_action( 'woocommerce_fulfillment_after_create', array( $this, 'add_fulfillment_created_note' ), 10, 1 );
	add_action( 'woocommerce_fulfillment_after_update', array( $this, 'add_fulfillment_updated_note' ), 10, 3 );
	add_action( 'woocommerce_fulfillment_after_delete', array( $this, 'add_fulfillment_deleted_note' ), 10, 1 );
}