<?php
/**
 * SEO plugin compatibility checks.
 *
 * @package MicropediaAISearchOptimizer
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/** Compatibility helper. */
class Micropedia_AI_Compatibility {
	/**
	 * Whether a known SEO plugin is active.
	 *
	 * @return bool
	 */
	public static function has_seo_schema_provider() {
		return defined( 'WPSEO_VERSION' ) || defined( 'RANK_MATH_VERSION' ) || defined( 'SEOPRESS_VERSION' );
	}
}
