label. */ public const META = array( 'rank_math_title' => 'SEO title', 'rank_math_description' => 'meta description', 'rank_math_focus_keyword' => 'focus keyword', 'rank_math_canonical_url' => 'canonical URL', 'rank_math_robots' => 'robots', 'rank_math_advanced_robots' => 'advanced robots', 'rank_math_pillar_content' => 'pillar content', 'rank_math_facebook_title' => 'social title', 'rank_math_facebook_description' => 'social description', 'rank_math_twitter_title' => 'X title', 'rank_math_twitter_description' => 'X description', ); /** Watched options => label. */ public const OPTIONS = array( 'rank-math-options-general' => 'Rank Math general', 'rank-math-options-titles' => 'Rank Math titles and meta', 'rank-math-options-sitemap' => 'Rank Math sitemap', 'rank-math-options-instant-indexing' => 'Rank Math instant indexing', 'rank_math_modules' => 'Rank Math modules', ); public static function is_active(): bool { return Integrations::enabled( self::PLUGIN, defined( 'RANK_MATH_VERSION' ) ); } public static function event_types(): array { return Yoast::event_types(); } public static function register( ?bool $active = null ): void { if ( ! ( $active ?? self::is_active() ) ) { return; } SeoWatch::watch( self::PLUGIN, self::META, self::OPTIONS ); } public static function post_types(): array { return array(); } public static function internal_post_types(): array { return array(); } }