Automattic\WooCommerce\Internal\DataStores\Fulfillments

FulfillmentsDataStoreInterface::read_fulfillmentspublicWC 1.0

Read the fulfillment data.

Method of the class: FulfillmentsDataStoreInterface{}

No Hooks.

Returns

Fulfillment[]. Fulfillment object.

Usage

$FulfillmentsDataStoreInterface = new FulfillmentsDataStoreInterface();
$FulfillmentsDataStoreInterface->read_fulfillments( $entity_type, $entity_id ): array;
$entity_type(string) (required)
The entity type.
$entity_id(string) (required)
The entity ID.

FulfillmentsDataStoreInterface::read_fulfillments() code WC 10.3.6

public function read_fulfillments( string $entity_type, string $entity_id ): array;