芝麻web文件管理V1.00
编辑当前文件:/home/elegucvf/public_html/src/editors/framework/readability-analysis.php
options_helper = $options_helper; } /** * If this analysis is enabled. * * @return bool If this analysis is enabled. */ public function is_enabled(): bool { return $this->is_globally_enabled() && $this->is_user_enabled(); } /** * If this analysis is enabled by the user. * * @return bool If this analysis is enabled by the user. */ private function is_user_enabled(): bool { return ! \get_user_meta( \get_current_user_id(), 'wpseo_content_analysis_disable', true ); } /** * If this analysis is enabled globally. * * @return bool If this analysis is enabled globally. */ private function is_globally_enabled(): bool { return (bool) $this->options_helper->get( 'content_analysis_active', true ); } /** * Gets the name. * * @return string The name. */ public function get_name(): string { return self::NAME; } /** * Gets the legacy key. * * @return string The legacy key. */ public function get_legacy_key(): string { return 'contentAnalysisActive'; } }