@flummox的回答很中肯;可以删除、移动和更改现有设置。扩展Flummox的示例。
/**
* Modify existing / default customizer settings.
*
* @param WP_Customize_Manager $wp_customize Customizer manager.
*/
function my_update_header_text( $wp_customize ) {
// remove
$wp_customize -> remove_section(\'display_header_text\');
// move <-- must remove control first to move the control
$wp_customize -> get_control(\'display_header_text\') -> section = \'my_theme_options[header]\';
// change label/description
$wp_customize -> get_control(\'display_header_text\') -> label = __(\'Display Header Text\');
// change display order
$wp_customize -> get_control(\'display_header_text\') -> priority = 10;
}
add_action( \'customize_register\', \'my_update_header_text\', 11 );