Yoast\WP\SEO\Abilities\Infrastructure\Global_Setting_Targets

Author_Archives_Target::is_enabled │ public │ Yoast 1.0

Returns whether the author archives are enabled.

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

Хуков нет.

Возвращает

bool. Whether the target is enabled.

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

$Author_Archives_Target = new Author_Archives_Target();
$Author_Archives_Target->is_enabled(): bool;

Код Author_Archives_Target::is_enabled() Yoast 28.9

public function is_enabled(): bool {
	return ! $this->author_archive_helper->are_disabled();
}