Yoast\WP\SEO\Helpers

Indexable_Helper::set_indexable_repository()publicYoast 1.0

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() Yoast 22.3

public function set_indexable_repository( Indexable_Repository $repository ) {
	$this->repository = $repository;
}