WC_Data_Store::delete( WC_Data $data, array $args = array() )
Delete an object from the data store.
Description Description
Parameters Parameters
- $data
-
(Required) WooCommerce data instance.
- $args
-
(Optional) Array of args to pass to the delete method.
Default value: array()
Source Source
File: includes/class-wc-data-store.php
public function delete( &$data, $args = array() ) { $this->instance->delete( $data, $args ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |