public function editor_scss_to_css() {
        $css = '';

        if (!empty($this->editor_scss)) {
            $compiler = new core_scss();

            foreach ($this->editor_scss as $filename) {
                $compiler->set_file("{$this->dir}/scss/{$filename}.scss");

                try {
                    $css .= $compiler->to_css();
                } catch (\Exception $e) {
                    debugging('Error while compiling editor SCSS: ' . $e->getMessage(), DEBUG_DEVELOPER);
                }
            }
        }

        return $css;
    }
public function editor_scss_to_css() {
        $css = '';

        if (!empty($this->editor_scss)) {
            $compiler = new core_scss();

            foreach ($this->editor_scss as $filename) {
                $compiler->set_file("{$this->dir}/scss/{$filename}.scss");

                try {
                    $css .= $compiler->to_css();
                } catch (\Exception $e) {
                    debugging('Error while compiling editor SCSS: ' . $e->getMessage(), DEBUG_DEVELOPER);
                }
            }
        }

        return $css;
    }
public function editor_scss_to_css ( ) { $ css = '' ; if ( ! empty ( $ this -> editor_scss ) ) { $ compiler = new core_scss ( ) ; foreach ( $ this -> editor_scss as $ filename ) { $ compiler -> set_file ( "{$this->dir}/scss/{$filename}.scss" ) ; try { $ css .= $ compiler -> to_css ( ) ; } catch ( \ Exception $ e ) { debugging ( 'Error while compiling editor SCSS: ' . $ e -> getMessage ( ) , DEBUG_DEVELOPER ) ; } } } return $ css ; }
Compiles and returns the content of the SCSS to be used in editor content

@return string Compiled CSS from the editor SCSS
Compiles and returns the content of the SCSS to be used in editor content