Automattic\WooCommerce\Internal\PushNotifications\Notifications

NewReviewNotification::write_metapublicWC 1.0

{@inheritDoc}

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

Хуков нет.

Возвращает

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

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

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

Код NewReviewNotification::write_meta() WC 10.8.1

public function write_meta( string $key ): void {
	WC()->call_function( 'update_comment_meta', $this->get_resource_id(), $key, (string) time() );
}