WC_Abstract_Order::set_date_created()
Set date_created.
Метод класса: WC_Abstract_Order{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->set_date_created( $date );
- $date(строка|int|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.
По умолчанию: null
Код WC_Abstract_Order::set_date_created() WC Abstract Order::set date created WC 9.7.1
public function set_date_created( $date = null ) { $this->set_date_prop( 'date_created', $date ); }