settings = $settings; $this->conflicts = $conflicts; } /** * Other SEO plugins that are active. * * @since 1.0.0 * * @return array Plugin id => display name. */ public function conflicts(): array { return $this->conflicts->detect(); } /** * Whether ElevenRank prints SEO tags. * * @since 1.0.0 * * @return bool */ public function is_active(): bool { return array() === $this->conflicts() || (bool) $this->settings->value( 'general', 'output_with_conflicts' ); } }