eturn $this->wooCommerceNumberOfReviews; } elseif (in_array($action, WooCommerceCustomerTextField::ACTIONS)) { return $this->wooCommerceCustomerTextField; } elseif ($action === WooCommerceUsedCouponCode::ACTION) { return $this->wooCommerceUsedCouponCode; } elseif ($action === WooCommerceFirstOrder::ACTION) { return $this->wooCommerceFirstOrder; } elseif ($action === WooCommercePurchasedWithAttribute::ACTION) { return $this->wooCommercePurchasedWithAttribute; } elseif ($action == WooCommerceTag::ACTION) { return $this->wooCommerceTag; } return $this->wooCommerceCategory; } }