Automattic\WooCommerce\Internal\PushNotifications\Entities

PushToken::can_be_updatedpublicWC 10.4.0

Determines whether this token can be updated.

Method of the class: PushToken{}

No Hooks.

Returns

true|false.

Usage

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

Changelog

Since 10.4.0 Introduced.

PushToken::can_be_updated() code WC 10.4.3

public function can_be_updated(): bool {
	return $this->get_id() && $this->has_required_parameters();
}