Yoast\WP\SEO\Helpers

Robots_Txt_Helper::get_disallow_directives()publicYoast 1.0

Get all registered disallow directives per user agent.

{} Это метод класса: Robots_Txt_Helper{}

Хуков нет.

Возвращает

Массив. The registered disallow directives per user agent.

Использование

$Robots_Txt_Helper = new Robots_Txt_Helper();
$Robots_Txt_Helper->get_disallow_directives();

Код Robots_Txt_Helper::get_disallow_directives() Yoast 19.10

public function get_disallow_directives() {
	return $this->robots_txt_user_agents->get_disallow_directives();
}