Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::write_metapublicWC 10.7.0

Writes a meta key with a timestamp to this notification's resource.

Method of the class: Notification{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 10.7.0 Introduced.

Notification::write_meta() code WC 10.8.1

abstract public function write_meta( string $key ): void;