WC_Customer_Download::get_access_granted
Get access_granted.
Метод класса: WC_Customer_Download{}
Хуков нет.
Возвращает
WC_DateTime|null. Object if the date is set or null if there is no date.
Использование
$WC_Customer_Download = new WC_Customer_Download(); $WC_Customer_Download->get_access_granted( $context );
- $context(строка)
- What the value is for. Valid values are
'view'and'edit'.
По умолчанию:'view'
Код WC_Customer_Download::get_access_granted() WC Customer Download::get access granted WC 10.6.2
public function get_access_granted( $context = 'view' ) {
return $this->get_prop( 'access_granted', $context );
}