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 22.4

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

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