WC_Object_Data_Store_Interface::delete()publicWC 1.0

Deletes a record from the database.

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) (passed by reference — &)
Data object.
$args(array)
Array of args to pass to the delete method.
Default: array()

WC_Object_Data_Store_Interface::delete() code WC 8.7.0

public function delete( &$data, $args = array() );