Automattic\WooCommerce\Internal\PushNotifications\Services

NotificationStepLogger::get_notification_source │ public static │ WC 11.3.0

Builds the log source for a notification type.

Метод класса: NotificationStepLogger{}

Хуков нет.

Возвращает

string.

Использование

$result = NotificationStepLogger::get_notification_source( $notification ): string;
$notification(Notification) (обязательный)
The notification.

Список изменений

С версии 11.3.0 Введена.

Код NotificationStepLogger::get_notification_source() WC 11.3.0

public static function get_notification_source( Notification $notification ): string {
	return self::get_notification_source_for_type( $notification->get_type() );
}