WC_Object_Data_Store_Interface::create()publicWC 1.0

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

Method of the class: WC_Object_Data_Store_Interface{}

No Hooks.

Return

null. Nothing (null).

Usage

$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.

WC_Object_Data_Store_Interface::create() code WC 8.9.0

public function create( &$data );