Yoast\WP\SEO\Dashboard\Domain\Score_Results
Current_Score::__construct()
The constructor.
Метод класса: Current_Score{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Current_Score = new Current_Score(); $Current_Score->__construct( $name, $amount, ?string $ids, ?array $links );
- $name(строка) (обязательный)
- The name of the current score.
- $amount(int) (обязательный)
- The amount of the current score.
- ?string $ids **
- -
По умолчанию: null - ?array $links **
- -
По умолчанию: null
Код Current_Score::__construct() Current Score:: construct Yoast 24.4
public function __construct( string $name, int $amount, ?string $ids = null, ?array $links = null ) { $this->name = $name; $this->amount = $amount; $this->ids = $ids; $this->links = $links; }