WC_Customer_Download_Log::get_timestamp()
Get timestamp.
Method of the class: WC_Customer_Download_Log{}
No Hooks.
Return
WC_DateTime|null
. Object if the date is set or null if there is no date.
Usage
$WC_Customer_Download_Log = new WC_Customer_Download_Log(); $WC_Customer_Download_Log->get_timestamp( $context );
- $context(string)
- Get context.
Default: 'view'
WC_Customer_Download_Log::get_timestamp() WC Customer Download Log::get timestamp code WC 9.6.1
public function get_timestamp( $context = 'view' ) { return $this->get_prop( 'timestamp', $context ); }