WordPress at Your Fingertips
function is not described

WC_Object_Data_Store_Interface::create() public WC 1.0

Method to create a new record of a WC_Data based object.

{} It's a method of the class: WC_Object_Data_Store_Interface{}

No Hooks.


null. Nothing.


$WC_Object_Data_Store_Interface = new WC_Object_Data_Store_Interface();
$WC_Object_Data_Store_Interface->create( $data );
$data(WC_Data) (required) (passed by reference — &)
Data object.

Code of WC_Object_Data_Store_Interface::create() WC 5.7.1

public function create( &$data );