update docblock for add_to_cart() method
This commit is contained in:
parent
5a88e77959
commit
7e0121a0d9
|
@ -794,7 +794,7 @@ class WC_Cart {
|
|||
* @param int $variation_id
|
||||
* @param array $variation attribute values
|
||||
* @param array $cart_item_data extra cart item data we want to pass into the item
|
||||
* @return bool
|
||||
* @return string $cart_item_key
|
||||
*/
|
||||
public function add_to_cart( $product_id, $quantity = 1, $variation_id = '', $variation = '', $cart_item_data = array() ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue