WordPress at Your Fingertips
function is not described

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.


true|false. result


$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.
Array of args to pass to the delete method.
Default: array()

Code of WC_Object_Data_Store_Interface::delete() WC 6.1.1

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