Automattic\WooCommerce\Internal\PushNotifications\Notifications
StockNotification::get_event_type
Returns the stock event type.
Метод класса: StockNotification{}
Хуков нет.
Возвращает
string.
Использование
$StockNotification = new StockNotification(); $StockNotification->get_event_type(): string;
Список изменений
| С версии 10.9.0 | Введена. |
Код StockNotification::get_event_type() StockNotification::get event type WC 11.3.0
public function get_event_type(): string {
return $this->event_type;
}