Added deprecated description to WC_Cart methods

This commit is contained in:
Claudio Sanches 2015-10-28 16:01:03 -02:00
parent e61b162355
commit 29229ada45
1 changed files with 5 additions and 3 deletions

View File

@ -330,7 +330,7 @@ class WC_Cart {
/**
* Coupons enabled function. Filterable.
*
* @deprecated 2.5.0
* @deprecated 2.5.0 in favor to wc_is_coupons_enabled()
*
* @return bool
*/
@ -624,7 +624,7 @@ class WC_Cart {
/**
* Gets the url to the cart page.
*
* @deprecated 2.5.0
* @deprecated 2.5.0 in favor to wc_get_cart_url()
*
* @return string url to page
*/
@ -635,7 +635,7 @@ class WC_Cart {
/**
* Gets the url to the checkout page.
*
* @deprecated 2.5.0
* @deprecated 2.5.0 in favor to wc_get_checkout_url()
*
* @return string url to page
*/
@ -1524,6 +1524,8 @@ class WC_Cart {
/**
* Sees if we need a shipping address.
*
* @deprecated 2.5.0 in favor to wc_ship_to_billing_address_only()
*
* @return bool
*/
public function ship_to_billing_address_only() {