Skip to content

Commit ca76cfd

Browse files
committed
enable get_snippets_scss code again
1 parent e7a7faa commit ca76cfd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

classes/snippets.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ public static function get_enabled_snippet_css() {
151151

152152
$css = '';
153153

154-
// foreach ($data as $snippet) {
155-
// if ($snippet->enabled) {
156-
// $css .= self::get_snippet($snippet->key, $snippet->domain)['css'] . ' ';
157-
// }
158-
// }
154+
foreach ($data as $snippet) {
155+
if ($snippet->enabled) {
156+
$css .= self::get_snippet_scss($snippet->key, $snippet->domain)['css'] . ' ';
157+
}
158+
}
159159

160160
return $css;
161161
}

0 commit comments

Comments
 (0)