Yoast\WP\SEO\Dashboard\Infrastructure\Configuration
Site_Kit_Consent_Repository_Interface::is_consent_granted()
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() Site Kit Consent Repository Interface::is consent granted Yoast 25.1
public function is_consent_granted(): bool;