Automattic\WooCommerce\Internal\PushNotifications\Notifications

Notification::write_meta │ public │ WC 10.7.0

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

Метод класса: Notification{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$Notification = new Notification();
$Notification->write_meta( $key ): void;
$key(строка) (обязательный)
The meta key.

Список изменений

С версии 10.7.0 Введена.

Код Notification::write_meta() WC 11.2.1

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