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