Yoast\WP\SEO\Editors\Framework

Cornerstone_Content::is_enabled()publicYoast 1.0

If cornerstone is enabled.

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

Хуков нет.

Возвращает

true|false. If cornerstone is enabled.

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

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

Код Cornerstone_Content::is_enabled() Yoast 25.1

public function is_enabled(): bool {
	return (bool) $this->options_helper->get( 'enable_cornerstone_content', false );
}