WC_Customer_Download_Log::get_timestamp()
Get timestamp.
Метод класса: WC_Customer_Download_Log{}
Хуков нет.
Возвращает
WC_DateTime|null
. Object if the date is set or null if there is no date.
Использование
$WC_Customer_Download_Log = new WC_Customer_Download_Log(); $WC_Customer_Download_Log->get_timestamp( $context );
- $context(строка)
- Get context.
По умолчанию: 'view'
Код WC_Customer_Download_Log::get_timestamp() WC Customer Download Log::get timestamp WC 9.6.1
public function get_timestamp( $context = 'view' ) { return $this->get_prop( 'timestamp', $context ); }