Automattic\WooCommerce\Internal\StockNotifications
Notification::get_date_notified
Get the date notified.
Метод класса: Notification{}
Хуков нет.
Возвращает
\WC_DateTime|null. Datetime object if the date is set or null if there is no date.
Использование
$Notification = new Notification(); $Notification->get_date_notified( $context );
- $context(строка)
- Context.
По умолчанию:'view'
Код Notification::get_date_notified() Notification::get date notified WC 10.5.2
public function get_date_notified( $context = 'view' ) {
return $this->get_prop( 'date_notified', $context );
}