Automattic\WooCommerce\Internal\PushNotifications\Notifications
NewReviewNotification::has_meta
{@inheritDoc}
Метод класса: NewReviewNotification{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$NewReviewNotification = new NewReviewNotification(); $NewReviewNotification->has_meta( $key ): bool;
- $key(строка) (обязательный)
- The meta key.
Код NewReviewNotification::has_meta() NewReviewNotification::has meta WC 11.3.0
public function has_meta( string $key ): bool {
return WC()->call_function( 'metadata_exists', 'comment', $this->get_resource_id(), $key );
}