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.

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.

Code of WC_Object_Data_Store_Interface::delete() WC 5.5.2

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