2017-06-13 09:45:37 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
2018-12-04 14:01:14 +01:00
|
|
|
* WPSEO plugin file.
|
|
|
|
|
*
|
|
|
|
|
* @package WPSEO\Internal
|
2017-06-13 09:45:37 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class containing method for WPSEO Features.
|
2021-08-04 17:09:29 +02:00
|
|
|
*
|
|
|
|
|
* @deprecated 16.0
|
2017-06-13 09:45:37 +02:00
|
|
|
*/
|
|
|
|
|
class WPSEO_Features {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Checks if the premium constant exists to make sure if plugin is the premium one.
|
|
|
|
|
*
|
2021-08-04 17:09:29 +02:00
|
|
|
* @deprecated 16.0
|
|
|
|
|
* @codeCoverageIgnore
|
|
|
|
|
*
|
2017-06-13 09:45:37 +02:00
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
public function is_premium() {
|
2021-08-04 17:09:29 +02:00
|
|
|
_deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
|
|
|
|
|
return YoastSEO()->helpers->product->is_premium();
|
2017-06-13 09:45:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Checks if using the free version of the plugin.
|
|
|
|
|
*
|
2021-08-04 17:09:29 +02:00
|
|
|
* @deprecated 16.0
|
|
|
|
|
* @codeCoverageIgnore
|
|
|
|
|
*
|
2017-06-13 09:45:37 +02:00
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
public function is_free() {
|
2021-08-04 17:09:29 +02:00
|
|
|
_deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
|
|
|
|
|
return true;
|
2017-06-13 09:45:37 +02:00
|
|
|
}
|
|
|
|
|
}
|