function tmm_do_shortcode($attributes = array(), $content = "", $shortcode_key) { $attributes["content"] = $content; if (isset($_REQUEST["shortcode_mode_edit"])) { $_REQUEST["shortcode_mode_edit"] = $attributes; } else { return TMM_Shortcode::draw_html($shortcode_key, $attributes); } }
public static function get_shortcodes_array() { return TMM_Shortcode::get_shortcodes_array(); }
<?php } ?> <div class="<?php echo $row_class; ?> "<?php echo $row_style_attr; ?> > <?php foreach ($row_data as $uniqid => $column) { $content = TMM_Shortcode::remove_empty_tags($column['content']); $content = do_shortcode(shortcode_unautop($content)); ?> <div class="<?php echo @$column['effect']; ?> <?php echo $column['front_css_class']; ?> "><?php echo $content; ?> </div> <?php }