compile .less files into css without enqueueing??
-
Hi,
I was wondering if I could do something like this:foreach($my_less_files as $less_file){ $lessConfig->setUploadDir($less_file['output_dir']); $lessConfig->setUploadUrl($less_file['output_url']); $WPLessPlugin->processStylesheet($less_file['file_path']); }
without first enqueueing it??? or with wp_register_sytle only (no enqueue)???
as opossed to this
wp_enqueue_style('my_css', 'path/to/my/style.css');
*$WPLessPlugin->processStylesheet('my_css');
????
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘compile .less files into css without enqueueing??’ is closed to new replies.