WPSEO_Replacevar_Field::__construct()
Constructs the object.
Метод класса: WPSEO_Replacevar_Field{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Replacevar_Field = new WPSEO_Replacevar_Field(); $WPSEO_Replacevar_Field->__construct( $yform, $field_id, $label, $page_type_recommended, $page_type_specific );
- $yform(Yoast_Form) (обязательный)
- Yoast forms.
- $field_id(строка) (обязательный)
- The field id.
- $label(строка) (обязательный)
- The field label.
- $page_type_recommended(строка) (обязательный)
- The page type for the context of the recommended replace vars.
- $page_type_specific(строка) (обязательный)
- The page type for the context of the editor specific replace vars.
Код WPSEO_Replacevar_Field::__construct() WPSEO Replacevar Field:: construct Yoast 23.8
public function __construct( Yoast_Form $yform, $field_id, $label, $page_type_recommended, $page_type_specific ) { $this->yform = $yform; $this->field_id = $field_id; $this->label = $label; $this->page_type_recommended = $page_type_recommended; $this->page_type_specific = $page_type_specific; }