WC_Coupon::set_date_modified() public WC 3.0.0
Set date_modified
{} Это метод класса: WC_Coupon{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WC_Coupon = new WC_Coupon(); $WC_Coupon->set_date_modified( $date );
- $date(строка/числоeger/null) (обязательный)
- UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if there is no date.
Список изменений
С версии 3.0.0 | Введена. |
Код WC_Coupon::set_date_modified() WC Coupon::set date modified WC 5.0.0
public function set_date_modified( $date ) {
$this->set_date_prop( 'date_modified', $date );
}