Yoast\WP\SEO\Integrations\Watchers
Indexable_HomeUrl_Watcher::__construct() public Yoast 1.0
Indexable_HomeUrl_Watcher constructor.
{} Это метод класса: Indexable_HomeUrl_Watcher{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Indexable_HomeUrl_Watcher = new Indexable_HomeUrl_Watcher(); $Indexable_HomeUrl_Watcher->__construct( $post_type, $options, $indexable );
- $post_type(Post_Type_Helper) (обязательный)
- The post type helper.
- $options(Options_Helper) (обязательный)
- The options helper.
- $indexable(Indexable_Helper) (обязательный)
- The indexable helper.
Код Indexable_HomeUrl_Watcher::__construct() Indexable HomeUrl Watcher:: construct Yoast 15.6.2
public function __construct( Post_Type_Helper $post_type, Options_Helper $options, Indexable_Helper $indexable ) {
$this->post_type = $post_type;
$this->options_helper = $options;
$this->indexable_helper = $indexable;
}