# wordpress-seo/19.0/inc/class-wpseo-features.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 19.0. 41 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/19.0/code/inc/class-wpseo-features.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/19.0/raw/inc/class-wpseo-features.php
- Modified: 2021-03-11T15:10:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/19.0/code/inc/class-wpseo-features.php#L10-L20`.

```php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Internal
 */

/**
 * Class containing method for WPSEO Features.
 *
 * @deprecated 16.0
 */
class WPSEO_Features {

	/**
	 * Checks if the premium constant exists to make sure if plugin is the premium one.
	 *
	 * @deprecated 16.0
	 * @codeCoverageIgnore
	 *
	 * @return bool
	 */
	public function is_premium() {
		_deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
		return YoastSEO()->helpers->product->is_premium();
	}

	/**
	 * Checks if using the free version of the plugin.
	 *
	 * @deprecated 16.0
	 * @codeCoverageIgnore
	 *
	 * @return bool
	 */
	public function is_free() {
		_deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
		return true;
	}
}

```
