WPSEO_Replacement_Variable::__construct
WPSEO_Replacement_Variable constructor.
Метод класса: WPSEO_Replacement_Variable{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPSEO_Replacement_Variable = new WPSEO_Replacement_Variable(); $WPSEO_Replacement_Variable->__construct( $variable, $label, $description );
- $variable(строка) (обязательный)
- The variable that is replaced.
- $label(строка) (обязательный)
- The label of the replacement variable.
- $description(строка) (обязательный)
- The description of the replacement variable.
Код WPSEO_Replacement_Variable::__construct() WPSEO Replacement Variable:: construct Yoast 27.5
public function __construct( $variable, $label, $description ) {
$this->variable = $variable;
$this->label = $label;
$this->description = $description;
}