WPSEO_Rank::get_end_score()publicYoast 1.0

Get the ending score for this rank.

{} Это метод класса: WPSEO_Rank{}

Хуков нет.

Возвращает

int. The end score.

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

$WPSEO_Rank = new WPSEO_Rank();
$WPSEO_Rank->get_end_score();

Код WPSEO_Rank::get_end_score() Yoast 19.7.1

public function get_end_score() {
	// No index does not have an end score.
	if ( $this->rank === self::NO_INDEX ) {
		return -1;
	}

	return self::$ranges[ $this->rank ]['end'];
}