Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::delete_meta()publicWC 1.0

Deletes meta based on meta ID.

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

No Hooks.

Return

null. Nothing.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->delete_meta( $object, $meta );
$object(WC_Data) (required) (passed by reference — &)
WC_Data object.
$meta(stdClass) (required)
(containing at least ->id).

Code of OrdersTableDataStore::delete_meta() WC 7.1.0

public function delete_meta( &$object, $meta ) {
	return $this->data_store_meta->delete_meta( $object, $meta );
}