Yoast\WP\SEO\Routes
Indexables_Page_Route::get_least_seo_score()
Устарела с версии 20.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Gets the posts with the smallest readability scores.
Метод класса: Indexables_Page_Route{}
Хуков нет.
Возвращает
WP_REST_Response
. The posts with the smallest readability scores.
Использование
$Indexables_Page_Route = new Indexables_Page_Route(); $Indexables_Page_Route->get_least_seo_score();
Список изменений
Устарела с | 20.4 |
Код Indexables_Page_Route::get_least_seo_score() Indexables Page Route::get least seo score Yoast 21.6
public function get_least_seo_score() { \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); $least_seo_score = $this->indexables_page_action->get_least_seo_score( $this->indexables_page_helper->get_buffer_size() ); return new WP_REST_Response( [ 'json' => [ 'list' => $least_seo_score, 'length' => \count( $least_seo_score ), ], ] ); }