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