WC_Customer_Download_Log::get_timestamp()publicWC 1.0

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 8.7.0

public function get_timestamp( $context = 'view' ) {
	return $this->get_prop( 'timestamp', $context );
}