WordPress at Your Fingertips
function is not described

WC_Customer_Download_Log::get_timestamp() public WC 1.0

Get timestamp.

{} It's a 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'

Code of WC_Customer_Download_Log::get_timestamp() WC 5.9.0

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