Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::has_metapublicWC 10.7.0

Checks whether a meta key exists for this notification's resource.

Method of the class: Notification{}

No Hooks.

Returns

true|false.

Usage

$Notification = new Notification();
$Notification->has_meta( $key ): bool;
$key(string) (required)
The meta key.

Changelog

Since 10.7.0 Introduced.

Notification::has_meta() code WC 10.8.1

abstract public function has_meta( string $key ): bool;