exceptions
5 years ago
options
4 years ago
sitemaps
4 years ago
class-addon-manager.php
4 years ago
class-my-yoast-api-request.php
5 years ago
class-post-type.php
5 years ago
class-rewrite.php
4 years ago
class-upgrade-history.php
5 years ago
class-upgrade.php
4 years ago
class-wpseo-admin-bar-menu.php
4 years ago
class-wpseo-content-images.php
4 years ago
class-wpseo-custom-fields.php
6 years ago
class-wpseo-custom-taxonomies.php
6 years ago
class-wpseo-features.php
5 years ago
class-wpseo-image-utils.php
4 years ago
class-wpseo-installation.php
5 years ago
class-wpseo-meta.php
4 years ago
class-wpseo-primary-term.php
6 years ago
class-wpseo-rank.php
5 years ago
class-wpseo-replace-vars.php
4 years ago
class-wpseo-replacement-variable.php
5 years ago
class-wpseo-shortlinker.php
4 years ago
class-wpseo-statistics.php
5 years ago
class-wpseo-utils.php
4 years ago
date-helper.php
5 years ago
index.php
10 years ago
interface-wpseo-wordpress-ajax-integration.php
7 years ago
interface-wpseo-wordpress-integration.php
7 years ago
language-utils.php
5 years ago
wpseo-functions-deprecated.php
5 years ago
wpseo-functions.php
4 years ago
wpseo-non-ajax-functions.php
5 years ago
class-wpseo-features.php
41 lines
| 1 | <?php |
| 2 | /** |
| 3 | * WPSEO plugin file. |
| 4 | * |
| 5 | * @package WPSEO\Internal |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * Class containing method for WPSEO Features. |
| 10 | * |
| 11 | * @deprecated 16.0 |
| 12 | */ |
| 13 | class WPSEO_Features { |
| 14 | |
| 15 | /** |
| 16 | * Checks if the premium constant exists to make sure if plugin is the premium one. |
| 17 | * |
| 18 | * @deprecated 16.0 |
| 19 | * @codeCoverageIgnore |
| 20 | * |
| 21 | * @return bool |
| 22 | */ |
| 23 | public function is_premium() { |
| 24 | _deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' ); |
| 25 | return YoastSEO()->helpers->product->is_premium(); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Checks if using the free version of the plugin. |
| 30 | * |
| 31 | * @deprecated 16.0 |
| 32 | * @codeCoverageIgnore |
| 33 | * |
| 34 | * @return bool |
| 35 | */ |
| 36 | public function is_free() { |
| 37 | _deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' ); |
| 38 | return true; |
| 39 | } |
| 40 | } |
| 41 |