Yoast\WP\SEO\Abilities\Domain

Score_Result::__construct │ public │ Yoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Score_Result = new Score_Result();
$Score_Result->__construct( $title, $score, $label );
$title(строка) (обязательный)
The post title.
$score(строка) (обязательный)
The score slug.
$label(строка) (обязательный)
The translated human-readable label.

Код Score_Result::__construct() Yoast 28.9

public function __construct( string $title, string $score, string $label ) {
	$this->title = $title;
	$this->score = $score;
	$this->label = $label;
}