WPSEO_Recalculate_Scores_Ajax{} Yoast 1.0
Устарела с версии 14.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.╳
Class WPSEO_Recalculate_Scores.
This class handles the SEO score recalculation for all posts with a filled focus keyword.
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WPSEO_Recalculate_Scores_Ajax = new WPSEO_Recalculate_Scores_Ajax(); // use class methods
Методы
Список изменений
Устарела с | 14.4 |
Код WPSEO_Recalculate_Scores_Ajax{} WPSEO Recalculate Scores Ajax{} Yoast 16.1.1
class WPSEO_Recalculate_Scores_Ajax {
/**
* Initialize the AJAX hooks.
*
* @deprecated 14.4
* @codeCoverageIgnore
*/
public function __construct() {
_deprecated_function( __METHOD__, 'WPSEO 14.4' );
}
/**
* Get the totals for the posts and the terms.
*
* @deprecated 14.4
* @codeCoverageIgnore
*/
public function get_total() {
_deprecated_function( __METHOD__, 'WPSEO 14.4' );
wp_die();
}
/**
* Start recalculation.
*
* @deprecated 14.4
* @codeCoverageIgnore
*/
public function recalculate_scores() {
_deprecated_function( __METHOD__, 'WPSEO 14.4' );
wp_die();
}
/**
* Saves the new linkdex score for given post.
*
* @deprecated 14.4
* @codeCoverageIgnore
*/
public function save_score() {
_deprecated_function( __METHOD__, 'WPSEO 14.4' );
wp_die();
}
}