/** * @internal */ public function _theme_action_print_saved_css() { $stored_style = FW_Request::COOKIE($this->cache_key); if (!empty($this->options['predefined'][$stored_style])) { echo $this->generate_initial_css($this->options['blocks'], $this->options['predefined'][$stored_style]); } }
/** * Get frontend active language. * * @return array|bool|mixed|null|string */ public function get_frontend_active_language() { $active_lang = FW_Request::COOKIE('fw_active_lang'); return isset($active_lang) ? FW_Request::COOKIE('fw_active_lang') : $this->get_default_language_code(); }