Yoast\WP\SEO\Helpers
Indexable_Helper::set_indexable_repository()
Sets the indexable repository. Done to avoid circular dependencies.
Метод класса: Indexable_Helper{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Indexable_Helper = new Indexable_Helper(); $Indexable_Helper->set_indexable_repository( $repository );
- $repository(Indexable_Repository) (обязательный)
- The indexable repository.
Код Indexable_Helper::set_indexable_repository() Indexable Helper::set indexable repository Yoast 22.3
public function set_indexable_repository( Indexable_Repository $repository ) { $this->repository = $repository; }