resource(); $config = !empty($config) ? $config : []; $checkbox = !empty($config['wpw_checkbox']) ? json_decode(urldecode($config['wpw_checkbox']), true) : []; if (!is_array($checkbox)) { $checkbox = []; } $checkbox_style = ''; foreach ($checkbox as $style) { $checkbox_style .= $resource->render('@theme/assets/css/constructor-styles/styleparts/checkbox-primary.php', [ 'config' => $style, ]); } // echo '
';
// print($checkbox_style);
// echo '
'; // exit; print($checkbox_style);