Method |
Description |
|
add_meta ( &$data, $meta ) : meta |
Add new piece of meta. |
|
create ( &$data ) |
Method to create a new record of a WC_Data based object. |
|
delete ( &$data, array $args = [] ) : boolean |
Deletes a record from the database. |
|
delete_meta ( &$data, $meta ) : array |
Deletes meta based on meta ID. |
|
read ( &$data ) |
Method to read a record. Creates a new WC_Data based object. |
|
read_meta ( &$data ) : array |
Returns an array of meta for an object. |
|
update ( &$data ) |
Updates a record in the database. |
|
update_meta ( &$data, $meta ) |
Update meta. |
|