# wordpress-seo/27.5/src/conditionals/third-party/wpml-wpseo-conditional.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 27.5. 29 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/27.5/code/src/conditionals/third-party/wpml-wpseo-conditional.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/27.5/raw/src/conditionals/third-party/wpml-wpseo-conditional.php
- Modified: 2024-01-19T10:31:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/27.5/code/src/conditionals/third-party/wpml-wpseo-conditional.php#L10-L20`.

```php
<?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 );
	}
}

```
