wpbakery

How do I access vc_map() internal values to create custom markup for WPBakery interface?

痞子三分冷 提交于 2020-02-05 03:30:31
问题 A similar question has been asked here, without any viable responses: Visual Composer custom markup for custom shortcode (vc_map) and here: Visual Composer custom shortcode template - custom_markup display user input I am trying to create custom markup within the WPBakery interface. I can add custom markup no problem by doing: $markup = 'test'; vc_map( array( "name" => __("MyShortcode"), "base" => "myshortcode", "category" => __('Content'), "custom_markup" => $markup, // @TODO how do we