Automattic\WooCommerce\Internal\PushNotifications\Entities

PushToken::get_device_localepublicWC 10.6.0

Gets the device locale.

Method of the class: PushToken{}

No Hooks.

Returns

String|null.

Usage

$PushToken = new PushToken();
$PushToken->get_device_locale(): ?string;

Changelog

Since 10.6.0 Introduced.

PushToken::get_device_locale() code WC 10.8.1

public function get_device_locale(): ?string {
	return $this->device_locale;
}