args['settings'] ) { $args = parent::filter_control_args( $args, $wp_customize ); /** * Toggle is from Kirki 3. * In Kirki 4, toggle is just a switch. * * To maintain backwards compatibility, we need to achieve the same design: * - Toggle should be aligned horizontally * - That means, it shouldn't use a text. */ $args['checkbox_type'] = 'toggle'; } return $args; } }