Automattic\WooCommerce\Internal\PushNotifications\Entities
PushToken::get_device_locale
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() PushToken::get device locale code WC 10.8.1
public function get_device_locale(): ?string {
return $this->device_locale;
}