WordPress at Your Fingertips
function is not described

WC_Customer_Download_Log::set_timestamp() public WC 1.0

Set timestamp.

{} It's a method of the class: WC_Customer_Download_Log{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Download_Log = new WC_Customer_Download_Log();
$WC_Customer_Download_Log->set_timestamp( $date );
$date(string|int|null)
UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if their is no date.
Default: null

Code of WC_Customer_Download_Log::set_timestamp() WC 5.9.0

public function set_timestamp( $date = null ) {
	$this->set_date_prop( 'timestamp', $date );
}