Yoast\WP\SEO\Dashboard\Domain\Score_Results

Current_Scores_List::addpublicYoast 1.0

Adds a current score to the list.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Current_Scores_List = new Current_Scores_List();
$Current_Scores_List->add( $current_score, $position ): void;
$current_score(Current_Score) (обязательный)
The current score to add.
$position(int) (обязательный)
The position to add the current score.

Код Current_Scores_List::add() Yoast 27.3

public function add( Current_Score $current_score, int $position ): void {
	$this->current_scores[ $position ] = $current_score;
}