Yoast\WP\SEO\Dashboard\Infrastructure\Score_Results
Score_Results_Collector_Interface::get_score_results()
Retrieves the score results for a content type.
Метод класса: Score_Results_Collector_Interface{}
Хуков нет.
Возвращает
Массив<Строку,
. string> The score results for a content type.
Использование
$Score_Results_Collector_Interface = new Score_Results_Collector_Interface(); $Score_Results_Collector_Interface->get_score_results( $score_groups, $content_type, ?int $term_id, ?bool $is_troubleshooting );
- $score_groups(Score_Groups_Interface[]) (обязательный)
- All score groups.
- $content_type(Content_Type) (обязательный)
- The content type.
- ?int $term_id (обязательный)
- -
- ?bool $is_troubleshooting (обязательный)
- -
Код Score_Results_Collector_Interface::get_score_results() Score Results Collector Interface::get score results Yoast 24.4
public function get_score_results( array $score_groups, Content_Type $content_type, ?int $term_id, ?bool $is_troubleshooting );