WC_Customer_Download::set_access_granted( string|integer|null $date = null )
Set access_granted.
Description Description
Parameters Parameters
- $date
-
(Optional) 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 value: null
Source Source
File: includes/class-wc-customer-download.php
public function set_access_granted( $date = null ) { $this->set_date_prop( 'access_granted', $date ); }