Automattic\WooCommerce\Internal\PushNotifications\Notifications

NewReviewNotification::read_meta │ public │ WC 1.0

{@inheritDoc}

Method of the class: NewReviewNotification{}

No Hooks.

Returns

null. Nothing (null).

Usage

$NewReviewNotification = new NewReviewNotification();
$NewReviewNotification->read_meta( $key ): string;
$key(string) (required)
The meta key.

NewReviewNotification::read_meta() code WC 11.3.0

public function read_meta( string $key ): string {
	return (string) WC()->call_function( 'get_comment_meta', $this->get_resource_id(), $key, true );
}