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