WooCommerce Code Reference

WC_Object_Data_Store_Interface

Object Data Store Interface

Tags
version
3.0.0

Table of Contents

add_meta()  : int
Add new piece of meta.
create()  : mixed
Method to create a new record of a WC_Data based object.
delete()  : bool
Deletes a record from the database.
delete_meta()  : array
Deletes meta based on meta ID.
read()  : mixed
Method to read a record. Creates a new WC_Data based object.
read_meta()  : array
Returns an array of meta for an object.
update()  : mixed
Updates a record in the database.
update_meta()  : mixed
Update meta.

Methods