Automattic\WooCommerce\Internal\DataStores\StockNotifications

StockNotificationsDataStore::delete_meta │ public │ WC 1.0

Delete meta.

Method of the class: StockNotificationsDataStore{}

No Hooks.

Returns

bool.

Usage

$StockNotificationsDataStore = new StockNotificationsDataStore();
$StockNotificationsDataStore->delete_meta( $notification, $meta ): bool;
$notification(Notification) (required) (passed by reference — &)
The data object to delete.
$meta(stdClass) (required)
The meta object to delete (containing at least ->id).

StockNotificationsDataStore::delete_meta() code WC 11.3.0

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