CSS Classes. * * @since 2.0.0 * @return array */ protected function classes() { return array( static::PENDING => 'wu-bg-gray-200 wu-text-gray-700', static::ACTIVE => 'wu-bg-green-200 wu-text-green-700', static::TRIALING => 'wu-bg-orange-200 wu-text-orange-700', static::ON_HOLD => 'wu-bg-blue-200 wu-text-blue-700', static::EXPIRED => 'wu-bg-yellow-200 wu-text-yellow-700', static::CANCELLED => 'wu-bg-red-200 wu-text-red-700', ); } // end classes; /** * Returns an array with values => labels. * * @since 2.0.0 * @return array */ protected function labels() { return array( static::PENDING => __('Pending', 'wp-ultimo'), static::ACTIVE => __('Active', 'wp-ultimo'), static::TRIALING => __('Trialing', 'wp-ultimo'), static::ON_HOLD => __('On Hold', 'wp-ultimo'), static::EXPIRED => __('Expired', 'wp-ultimo'), static::CANCELLED => __('Cancelled', 'wp-ultimo'), ); } // end labels; } // end class Membership_Status;