/** * In addition to preset, load custom stylesheet or Style Generator */ function loadCSS() { parent::loadCSS(); //Load Custom stylesheet if ($this->settings->op('wpmega-style') == 'custom') { wp_enqueue_style('ubermenu-custom', $this->baseURL . 'custom/custom.css', false, UBERMENU_VERSION, 'all'); } else { if ($this->settings->op('wpmega-style') == 'inline' && $this->settings->op('save-style-gen-to-file') && $this->settings->op('use-gen-skin')) { //File Generated Successfully wp_enqueue_style('ubermenu-generated-skin', $this->editionURL . 'stylegenerator/skin.css', false, UBERMENU_VERSION, 'all'); } } }