Yoast\WP\SEO\Abilities\Domain
Score_Result::__construct
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() Score Result:: construct Yoast 28.9
public function __construct( string $title, string $score, string $label ) {
$this->title = $title;
$this->score = $score;
$this->label = $label;
}