WC_Object_Data_Store_Interface::delete() public WC 1.0
Deletes a record from the database.
{} It's a method of the class: WC_Object_Data_Store_Interface{}
No Hooks.
Return
true/false. result
Usage
$WC_Object_Data_Store_Interface = new WC_Object_Data_Store_Interface(); $WC_Object_Data_Store_Interface->delete( $data, $args );
- $data(WC_Data) (required)
- Data object.
- $args(array)
- Array of args to pass to the delete method.
Code of WC_Object_Data_Store_Interface::delete() WC Object Data Store Interface::delete WC 5.0.0
public function delete( &$data, $args = array() );