Yoast\WP\SEO\Dashboard\Infrastructure\Configuration

Site_Kit_Consent_Repository_Interface::is_consent_granted()publicYoast 1.0

Returns the Site Kit consent status.
*

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

Хуков нет.

Возвращает

true|false. True when the consent has been granted, false when it is not.

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

$Site_Kit_Consent_Repository_Interface = new Site_Kit_Consent_Repository_Interface();
$Site_Kit_Consent_Repository_Interface->is_consent_granted(): bool;

Код Site_Kit_Consent_Repository_Interface::is_consent_granted() Yoast 25.1

public function is_consent_granted(): bool;