Automattic\WooCommerce\Internal\PushNotifications\Entities

PushToken::can_be_readpublicWC 10.4.0

Determines whether this token can be read.

Method of the class: PushToken{}

No Hooks.

Returns

true|false.

Usage

$PushToken = new PushToken();
$PushToken->can_be_read(): bool;

Changelog

Since 10.4.0 Introduced.

PushToken::can_be_read() code WC 10.5.0

public function can_be_read(): bool {
	return (bool) $this->get_id();
}