Automattic\WooCommerce\Internal\PushNotifications\Services
NotificationStepLogger::get_notification_source
Builds the log source for a notification type.
Method of the class: NotificationStepLogger{}
No Hooks.
Returns
string.
Usage
$result = NotificationStepLogger::get_notification_source( $notification ): string;
- $notification(Notification) (required)
- The notification.
Changelog
| Since 11.3.0 | Introduced. |
NotificationStepLogger::get_notification_source() NotificationStepLogger::get notification source code WC 11.3.0
public static function get_notification_source( Notification $notification ): string {
return self::get_notification_source_for_type( $notification->get_type() );
}