; rel="ai-context"; type="text/plain"', false ); } } /** * Has the owner opted in to the licence and authorship headers? * Off unless explicitly enabled, including on installs from before 1.2.6. */ public static function declares_content(): bool { return (bool) AEOMATIC_Settings::get( 'ai_headers', 'declare_content' ); } /** * Is at least one AI crawler allowed in the crawler settings? */ private static function any_crawler_allowed(): bool { $crawlers = (array) AEOMATIC_Settings::get( 'crawlers' ); if ( empty( $crawlers ) ) { return true; } foreach ( $crawlers as $allowed ) { if ( $allowed ) { return true; } } return false; } }