Automattic\WooCommerce\Internal\PushNotifications\Notifications
NewReviewNotification::write_meta
{@inheritDoc}
Method of the class: NewReviewNotification{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NewReviewNotification = new NewReviewNotification(); $NewReviewNotification->write_meta( $key ): void;
- $key(string) (required)
- The meta key.
NewReviewNotification::write_meta() NewReviewNotification::write meta code WC 10.9.1
public function write_meta( string $key ): void {
WC()->call_function( 'update_comment_meta', $this->get_resource_id(), $key, (string) time() );
}