Yoast\WP\SEO\Presenters\Admin
Light_Switch_Presenter::__construct() public Yoast 1.0
Light_Switch_Presenter constructor.
{} Это метод класса: Light_Switch_Presenter{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$Light_Switch_Presenter = new Light_Switch_Presenter(); $Light_Switch_Presenter->__construct(;
Код Light_Switch_Presenter::__construct() Light Switch Presenter:: construct Yoast 16.1.1
public function __construct(
$var,
$label,
$buttons,
$name,
$value,
$reverse = true,
$help = '',
$strong = false,
$disabled_attribute = ''
) {
$this->var = $var;
$this->label = $label;
$this->buttons = $buttons;
$this->name = $name;
$this->value = $value;
$this->reverse = $reverse;
$this->help = $help;
$this->strong = $strong;
$this->disabled_attribute = $disabled_attribute;
}