| Server IP : 145.239.37.162 / Your IP : 216.73.216.84 Web Server : Apache System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaa ( 38250) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaa/www_old/wp-content/plugins/wordpress-seo/src/deprecated/admin/ |
Upload File : |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin
*/
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- Reason: The class is deprecated.
/**
* Represents the class that contains the list of possible extensions for Yoast SEO.
*
* @deprecated 15.4
* @codeCoverageIgnore
*/
class WPSEO_Extensions {
/**
* Checks if the plugin has been installed.
*
* @deprecated 15.4
* @codeCoverageIgnore
*
* @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' );
return false;
}
/**
* Invalidates the extension by removing its option.
*
* @deprecated 15.4
* @codeCoverageIgnore
*
* @param string $extension The extension to invalidate.
*/
public function invalidate( $extension ) {
_deprecated_function( __METHOD__, 'WPSEO 15.4' );
}
/**
* Checks if the extension is valid.
*
* @deprecated 15.4
* @codeCoverageIgnore
*
* @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' );
return false;
}
/**
* Returns the set extensions.
*
* @deprecated 15.4
* @codeCoverageIgnore
*
* @return array All the extension names.
*/
public function get() {
_deprecated_function( __METHOD__, 'WPSEO 15.4' );
return [];
}
}
// phpcs:enable