WordPress filter hook

kirki_control_types

Defined by Kirki and fired by 12 plugins in total, running on 501K+ sites between them.

How to use kirki_control_types

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'kirki_control_types', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Kirki's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

12 plugins that fire kirki_control_types

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Kirki icon Kirki400,000+ installs apply_filters( 'kirki_control_types', [] ) customizer/packages/compatibility/src/Control.php:120
  2. Jupiter X Core icon Jupiter X Core70,000+ installs apply_filters( 'kirki_control_types', [] ) includes/customizer/vendors/kirki/packages/kirki-framework/compatibility/src/Control.php:120
  3. Envo Extra icon Envo Extra20,000+ installs apply_filters( 'kirki_control_types', [] ) include/packages/kirki-framework/compatibility/src/Control.php:120
  4. Futurio Extra icon Futurio Extra10,000+ installs apply_filters( 'kirki_control_types', [] ) inc/framework/kirki-packages/compatibility/src/Control.php:120
  5. Kata Plus icon Kata Plus300+ installs apply_filters( 'kirki_control_types', [] ) includes/vendors/kirki/kirki-packages/compatibility/src/Control.php:120
  6. Finest Floating Cart for WooCommerce icon Finest Floating Cart for WooCommerce100+ installs apply_filters( 'kirki_control_types', array() ) lib/core/class-kirki-control.php:108
  7. Front Page Builder icon Front Page Builder60+ installs apply_filters( 'kirki_control_types', array() ) include/framework/core/class-kirki-control.php:106
  8. Home Improvement Companion icon Home Improvement Companion50+ installs apply_filters( 'kirki_control_types', [] ) vendors/kirki/kirki-packages/compatibility/src/Control.php:120
  9. Hill Extension icon Hill Extension10+ installs apply_filters( 'kirki_control_types', [] ) inc/kirki/packages/kirki-framework/compatibility/src/Control.php:120
  10. Realty Pack Core icon Realty Pack Core10+ installs apply_filters( 'kirki_control_types', array() ) app/kirki/core/class-kirki-control.php:106
  11. Azeen Core icon Azeen CoreFewer than 10 installs apply_filters( 'kirki_control_types', array() ) inc/kirki/core/class-kirki-control.php:108
  12. Easy Custom Cursor icon Easy Custom CursorFewer than 10 installs apply_filters( 'kirki_control_types', array() ) lib/core/class-kirki-control.php:108

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.