Yoast\WP\SEO\Abilities\Application

Score_Retriever::get_inclusive_language_scorespublicYoast 1.0

Retrieves the inclusive language scores for the most recently modified posts.

Метод класса: Score_Retriever{}

Хуков нет.

Возвращает

Массив. array<string, string>> The inclusive language score data for each post.

Использование

$Score_Retriever = new Score_Retriever();
$Score_Retriever->get_inclusive_language_scores( $input ): array;
$input(массив) (обязательный)
.

Код Score_Retriever::get_inclusive_language_scores() Yoast 27.8

public function get_inclusive_language_scores( array $input ): array {
	$indexables = $this->get_recent_indexables( $this->get_number_of_posts( $input ) );

	return \array_map( [ $this, 'build_inclusive_language_score_for_indexable' ], $indexables );
}