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