是,支持此操作。它们被称为面板、分区和控件。
添加面板时使用以下代码:
$wp_customize->add_panel( $panel_name, array(
\'title\' => \'panel_title\',
\'description\' => \'panel_description\',
\'priority\' => \'priority\',
\'capability\' => \'edit_theme_options\',
\'theme_supports\' => \'\'
));
添加节如下所示:
$wp_customize->add_section($section_name , array(
\'panel\' => \'panel_name\',
\'title\' => \'section_title\',
\'description\' => \'section_description\',
\'priority\' => \'priority\',
\'capability\' => \'edit_theme_options\',
));
添加控件有点复杂,但是
well described in the codex.