PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.1
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.1
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / inc / class-wpseo-features.php

class-wpseo-features.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.1, at inc/class-wpseo-features.php

41 lines 788 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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