Automattic\WooCommerce\Internal\PushNotifications\Notifications
Notification::get_type
Returns the notification type identifier, this should match the subtype or type (if there isn't a subtype) values attributed to notes in WordPress.com.
Метод класса: Notification{}
Хуков нет.
Возвращает
string.
Использование
$Notification = new Notification(); $Notification->get_type(): string;
Список изменений
| С версии 10.7.0 | Введена. |
Код Notification::get_type() Notification::get type WC 11.2.1
abstract public function get_type(): string;