Server IP : 172.67.157.199 / Your IP : 3.145.85.60 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wordpress-seo/src/conditionals/third-party/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Conditionals\Third_Party; use Yoast\WP\SEO\Conditionals\Conditional; /** * Conditional that is met when the Yoast SEO Multilingual plugin, * a glue plugin developed by and for WPML, is active. */ class WPML_WPSEO_Conditional implements Conditional { /** * Path to the Yoast SEO Multilingual plugin file. * * @internal */ public const PATH_TO_WPML_WPSEO_PLUGIN_FILE = 'wp-seo-multilingual/plugin.php'; /** * Returns whether or not the Yoast SEO Multilingual plugin is active. * * @return bool Whether or not the Yoast SEO Multilingual plugin is active. */ public function is_met() { return \is_plugin_active( self::PATH_TO_WPML_WPSEO_PLUGIN_FILE ); } }