WC_Customer_Download_Log::set_timestamp()
Set timestamp.
Метод класса: WC_Customer_Download_Log{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Customer_Download_Log = new WC_Customer_Download_Log(); $WC_Customer_Download_Log->set_timestamp( $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 their is no date.
По умолчанию: null
Код WC_Customer_Download_Log::set_timestamp() WC Customer Download Log::set timestamp WC 9.6.1
public function set_timestamp( $date = null ) { $this->set_date_prop( 'timestamp', $date ); }