Yoast\WP\SEO\Abilities\Application
Score_Retriever::get_seo_scores
Retrieves the SEO scores for the most recently modified posts.
Метод класса: Score_Retriever{}
Хуков нет.
Возвращает
Массив
Использование
$Score_Retriever = new Score_Retriever(); $Score_Retriever->get_seo_scores( $input ): array;
- $input(массив) (обязательный)
- .
Код Score_Retriever::get_seo_scores() Score Retriever::get seo scores Yoast 28.2
public function get_seo_scores( array $input ): array {
$indexables = $this->get_recent_indexables( $this->get_number_of_posts( $input ) );
return \array_map( [ $this, 'build_seo_score_for_indexable' ], $indexables );
}