Метод |
Описание |
|
add_metadata ( mixed $item_id, mixed $meta_key, mixed $meta_value, boolean $unique = false ) : integer |
Add term meta. |
|
add_order_item ( integer $order_id, $item ) : integer |
Add an order item to an order. |
|
delete_metadata ( mixed $item_id, mixed $meta_key, string $meta_value = '', boolean $delete_all = false ) : boolean |
Delete term meta. |
|
delete_order_item ( integer $item_id ) |
Delete an order item. |
|
get_metadata ( mixed $item_id, mixed $key, boolean $single = true ) : mixed |
Get term meta. |
|
update_metadata ( mixed $item_id, mixed $meta_key, mixed $meta_value, string $prev_value = '' ) : boolean |
Update term meta. |
|
update_order_item ( integer $item_id, $item ) : boolean |
Update an order item. |
|