first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
<?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;
}
}