Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::get_typepublicWC 10.7.0

Gets the notification type.

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.7.0

public function get_type(): string {
	return $this->type;
}