Yoast\WP\SEO\Helpers

Wordproof_Helper::integration_is_active()publicYoast 1.0

Returns if the WordProof integration toggle is turned on.

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

Хуков нет.

Возвращает

true|false. Returns if the integration toggle is set to true if conditionals are met.

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

$Wordproof_Helper = new Wordproof_Helper();
$Wordproof_Helper->integration_is_active();

Код Wordproof_Helper::integration_is_active() Yoast 19.7.1

public function integration_is_active() {
	if ( $this->integration_is_disabled() ) {
		return false;
	}

	return $this->options->get( 'wordproof_integration_active', true );
}