Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::get_typepublicWC 10.7.0

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.

Method of the class: Notification{}

No Hooks.

Returns

String.

Usage

$Notification = new Notification();
$Notification->get_type(): string;

Changelog

Since 10.7.0 Introduced.

Notification::get_type() code WC 10.8.1

abstract public function get_type(): string;