public function getContentLayouts() { $output = '<li><ul class="wpb-content-layouts">'; // $output .= $this->getColumnLayouts(); foreach (WPBMap::getSortedUserShortCodes() as $el) { $sc_base = $el['base']; if (isset($el['content_element']) && $el['content_element'] === false) { continue; } $element_button = new WPBakeryVisualComposerElementButton(); $output .= $element_button->setBase($sc_base)->setup($el)->output(); } $output .= '</ul></li>'; return $output; }
public function getContentLayouts() { $output = ''; foreach (WPBMap::getShortCodes() as $sc_base => $el) { $element_button = new WPBakeryVisualComposerElementButton(); $output .= $element_button->setBase($sc_base)->setup($el)->output(); } return $output; }