Yoast\WP\SEO\Context
Meta_Tags_Context::__construct
Meta_Tags_Context constructor.
Метод класса: Meta_Tags_Context{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Meta_Tags_Context = new Meta_Tags_Context(); $Meta_Tags_Context->__construct( $options, $url, $image, $id_helper, $replace_vars, $site, $user, $permalink_helper, $indexable_helper, $indexable_repository );
- $options(Options_Helper) (обязательный)
- The options helper.
- $url(Url_Helper) (обязательный)
- The url helper.
- $image(Image_Helper) (обязательный)
- The image helper.
- $id_helper(ID_Helper) (обязательный)
- The schema id helper.
- $replace_vars(WPSEO_Replace_Vars) (обязательный)
- The replace vars helper.
- $site(Site_Helper) (обязательный)
- The site helper.
- $user(User_Helper) (обязательный)
- The user helper.
- $permalink_helper(Permalink_Helper) (обязательный)
- The permalink helper.
- $indexable_helper(Indexable_Helper) (обязательный)
- The indexable helper.
- $indexable_repository(Indexable_Repository) (обязательный)
- The indexable repository.
Код Meta_Tags_Context::__construct() Meta Tags Context:: construct Yoast 27.8
public function __construct(
Options_Helper $options,
Url_Helper $url,
Image_Helper $image,
ID_Helper $id_helper,
WPSEO_Replace_Vars $replace_vars,
Site_Helper $site,
User_Helper $user,
Permalink_Helper $permalink_helper,
Indexable_Helper $indexable_helper,
Indexable_Repository $indexable_repository
) {
$this->options = $options;
$this->url = $url;
$this->image = $image;
$this->id_helper = $id_helper;
$this->replace_vars = $replace_vars;
$this->site = $site;
$this->user = $user;
$this->permalink_helper = $permalink_helper;
$this->indexable_helper = $indexable_helper;
$this->indexable_repository = $indexable_repository;
}