Automattic\WooCommerce\Internal\DataStores\Fulfillments
FulfillmentsDataStoreInterface::read_fulfillments
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() FulfillmentsDataStoreInterface::read fulfillments code WC 10.3.6
public function read_fulfillments( string $entity_type, string $entity_id ): array;