Yoast\WP\SEO\Helpers

Indexables_Page_Helper::get_link_suggestions_enabled()publicYoast 1.0

Checks if link suggestions are enabled or not

Метод класса: Indexables_Page_Helper{}

Хуков нет.

Возвращает

true|false. Wether enable_link_suggestions is set to true or not.

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

$Indexables_Page_Helper = new Indexables_Page_Helper();
$Indexables_Page_Helper->get_link_suggestions_enabled();

Код Indexables_Page_Helper::get_link_suggestions_enabled() Yoast 19.11

public function get_link_suggestions_enabled() {
	return $this->options->get( 'enable_link_suggestions', false ) === true;
}