Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::get_identity_data │ public │ WC 11.2.0

Extra fields that identify this notification beyond its type and resource ID, in the form {@see self::from_array()} accepts.

Identity only, for the reasons {@see self::get_safety_net_args()} gives.

Method of the class: Notification{}

No Hooks.

Returns

array<string, mixed>.

Usage

$Notification = new Notification();
$Notification->get_identity_data(): array;

Changelog

Since 11.2.0 Introduced.

Notification::get_identity_data() code WC 11.3.0

public function get_identity_data(): array {
	return array();
}