Yoast\WP\SEO\Helpers\Schema
Replace_Vars_Helper::__construct
Replace_Vars_Helper constructor.
Метод класса: Replace_Vars_Helper{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Replace_Vars_Helper = new Replace_Vars_Helper(); $Replace_Vars_Helper->__construct( $replace_vars, $id_helper, $date_helper );
- $replace_vars(WPSEO_Replace_Vars) (обязательный)
- The replace vars.
- $id_helper(ID_Helper) (обязательный)
- The Schema ID helper.
- $date_helper(Date_Helper) (обязательный)
- The date helper.
Код Replace_Vars_Helper::__construct() Replace Vars Helper:: construct Yoast 27.4
public function __construct(
WPSEO_Replace_Vars $replace_vars,
ID_Helper $id_helper,
Date_Helper $date_helper
) {
$this->replace_vars = $replace_vars;
$this->id_helper = $id_helper;
$this->date_helper = $date_helper;
}