如何为Visual Composer添加多重选择器?
vc_map( array(
"name" => esc_html__("Ajax Posts", '7mag'),
"base" => "YT_ajaxpost",
"icon" => "YT_vc_ico_ajaxpost",
"class" => "YT_vc_sc_ajaxpost",
"category" => esc_html__("7mag", '7mag'),
"params" => array(
array(
"type" => "dropdown",
"heading" => esc_html__("Style", '7mag'),
"param_name" => "multiple",
"value" => $categories_array,
),
) );
Run Code Online (Sandbox Code Playgroud)
例如: 链接