Yoast\WP\SEO\Helpers

Author_Archive_Helper::are_disabled()publicYoast 1.0

Checks whether author archives are disabled.

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

Хуков нет.

Возвращает

true|false. true if author archives are disabled, false if not.

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

$Author_Archive_Helper = new Author_Archive_Helper();
$Author_Archive_Helper->are_disabled();

Код Author_Archive_Helper::are_disabled() Yoast 20.0

public function are_disabled() {
	return $this->options_helper->get( 'disable-author' );
}