Automattic\WooCommerce\Admin\Features\Fulfillments

FulfillmentsController::bulk_delete_order_fulfillment_status_meta │ private │ WC 1.0

Bulk delete fulfillment status meta for specific order IDs, or all orders if no order ID specified.

This method deletes the fulfillment status meta for the specified order IDs from both the legacy postmeta table and the HPOS meta table.

Метод класса: FulfillmentsController{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->bulk_delete_order_fulfillment_status_meta( $order_ids ): void;
$order_ids(array)
Array of order IDs to delete fulfillment status meta for.
По умолчанию: array()

Код FulfillmentsController::bulk_delete_order_fulfillment_status_meta() WC 11.2.2

private function bulk_delete_order_fulfillment_status_meta( $order_ids = array() ): void {
	$this->delete_legacy_order_fulfillment_meta( $order_ids );
	$this->delete_hpos_order_fulfillment_meta( $order_ids );
}