WC_Customer_Download_Log::get_timestamp( string $context = 'view' )
Get timestamp.
Description Description
Parameters Parameters
- $context
-
(Optional) Get context.
Default value: 'view'
Return Return
(WC_DateTime|null) Object if the date is set or null if there is no date.
Source Source
File: includes/class-wc-customer-download-log.php
public function get_timestamp( $context = 'view' ) { return $this->get_prop( 'timestamp', $context ); }