Include since tag to new methods

This commit is contained in:
Claudio Sanches 2021-07-20 20:55:39 -03:00
parent 513b14dc9b
commit 5e4f3b40e3
2 changed files with 6 additions and 2 deletions

View File

@ -730,8 +730,9 @@ class WC_Customer extends WC_Legacy_Customer {
}
/**
* Get shipping_phone.
* Get shipping phone.
*
* @since 5.6.0
* @param string $context What the value is for. Valid values are 'view' and 'edit'.
* @return string
*/
@ -1129,8 +1130,9 @@ class WC_Customer extends WC_Legacy_Customer {
}
/**
* Set shipping_phone.
* Set shipping phone.
*
* @since 5.6.0
* @param string $value Shipping phone.
*/
public function set_shipping_phone( $value ) {

View File

@ -746,6 +746,7 @@ class WC_Order extends WC_Abstract_Order {
/**
* Get shipping phone.
*
* @since 5.6.0
* @param string $context What the value is for. Valid values are view and edit.
* @return string
*/
@ -1246,6 +1247,7 @@ class WC_Order extends WC_Abstract_Order {
/**
* Set shipping phone.
*
* @since 5.6.0
* @param string $value Shipping phone.
* @throws WC_Data_Exception Throws exception when invalid data is found.
*/