Yoast\WP\SEO\Dashboard\Infrastructure\Configuration
Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface::set_site_kit_configuration_dismissal()
Sets the Site Kit configuration dismissal status.
Метод класса: Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface{}
Хуков нет.
Возвращает
true|false
. False when the update failed, true when the update succeeded.
Использование
$Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface = new Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface(); $Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface->set_site_kit_configuration_dismissal( $is_dismissed ): bool;
- $is_dismissed(true|false) (обязательный)
- The dismissal status.
Код Permanently_Dismissed_Site_Kit_Configuration_Repository_Interface::set_site_kit_configuration_dismissal() Permanently Dismissed Site Kit Configuration Repository Interface::set site kit configuration dismissal Yoast 25.1
public function set_site_kit_configuration_dismissal( bool $is_dismissed ): bool;