/** * For all late styles (now footer group) do default behavior with lazy load opportunity * @param $group (0 - header , 1 - footer) * @return bool */ protected function puzzler_styles_foot_do_default($group) { if (1 !== $group) { return false; } foreach ($this->to_do as $key => $handle) { // -- processing items only by current group if ($this->groups[$handle] !== $group) { continue; } if (parent::do_item($handle)) { $this->done[] = $handle; unset($this->to_do[$key]); } } return true; }