// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- Reason: The class is deprecated.
* Represents the class that contains the list of possible extensions for Yoast SEO.
* Checks if the plugin has been installed.
* @param string $extension The name of the plugin to check.
* @return bool Returns true when installed.
public function is_installed( $extension ) {
_deprecated_function( __METHOD__, 'WPSEO 15.4' );
* Invalidates the extension by removing its option.
* @param string $extension The extension to invalidate.
public function invalidate( $extension ) {
_deprecated_function( __METHOD__, 'WPSEO 15.4' );
* Checks if the extension is valid.
* @param string $extension The extension to get the name for.
* @return bool Returns true when valid.
public function is_valid( $extension ) {
_deprecated_function( __METHOD__, 'WPSEO 15.4' );
* Returns the set extensions.
* @return array All the extension names.
_deprecated_function( __METHOD__, 'WPSEO 15.4' );