예제 #1
0
 function pagelines_insert_core_less_callback($code)
 {
     global $pagelines_raw_lesscode_external;
     if (!empty($pagelines_raw_lesscode_external) && is_array($pagelines_raw_lesscode_external)) {
         $less = pl_load_less_files($pagelines_raw_lesscode_external);
         $code .= "\n" . $less;
     }
     return $code;
 }
예제 #2
0
 private function add_bootstrap()
 {
     return pl_load_less_files(array('variables', 'colors', 'mixins'));
 }