options_helper = $options_helper; } /** * Sets the Site Kit dismissal status. * * @param bool $is_dismissed The dismissal status. * * @return bool False when the update failed, true when the update succeeded. */ public function set_site_kit_configuration_dismissal( bool $is_dismissed ): bool { return $this->options_helper->set( 'site_kit_configuration_permanently_dismissed', $is_dismissed ); } /** * Checks if the Site Kit configuration is dismissed permanently. * * * * @return bool True when the configuration is dismissed, false when it is not. */ public function is_site_kit_configuration_dismissed(): bool { return $this->options_helper->get( 'site_kit_configuration_permanently_dismissed', false ); } }