Automattic\WooCommerce\Internal\PushNotifications\Entities
PushToken::can_be_deleted
Determines whether this token can be deleted.
Method of the class: PushToken{}
No Hooks.
Returns
true|false.
Usage
$PushToken = new PushToken(); $PushToken->can_be_deleted(): bool;
Changelog
| Since 10.4.0 | Introduced. |
PushToken::can_be_deleted() PushToken::can be deleted code WC 10.5.0
public function can_be_deleted(): bool {
return (bool) $this->get_id();
}