WordPress Customizer Editor Control

Learn how to create an editor control using the Kirki Customizer Framework.

Back to Controls


The editor control renders a rich-text editor in the WordPress Customizer. This editor is the same that WordPress-Core uses in its default widgets, so not all buttons and capabilities are available.

editor control example


Kirki::add_field( 'theme_config_id', [
	'type'        => 'editor',
	'settings'    => 'my_setting',
	'label'       => esc_html__( 'My Editor Control', 'kirki' ),
	'description' => esc_html__( 'This is an editor control.', 'kirki' ),
	'section'     => 'my_section',
	'default'     => '',
] );

Can't find what you're looking for? Check the github issues or edit this page to add what's missing.