WordPress action hook

kirki_dynamic_css

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

How to use kirki_dynamic_css

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'kirki_dynamic_css', function() {
	// Your code runs here.
}, 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.

9 plugins that fire kirki_dynamic_css

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

  1. Kirki icon Kirki400,000+ installs do_action( 'kirki_dynamic_css' ) customizer/packages/modules/css/src/CSS.php:375
  2. Jupiter X Core icon Jupiter X Core70,000+ installs do_action( 'kirki_dynamic_css' ) includes/customizer/vendors/kirki/packages/kirki-framework/module-css/src/CSS.php:340
  3. Envo Extra icon Envo Extra20,000+ installs do_action( 'kirki_dynamic_css' ) include/packages/kirki-framework/module-css/src/CSS.php:337
  4. Futurio Extra icon Futurio Extra10,000+ installs do_action( 'kirki_dynamic_css' ) inc/framework/kirki-packages/module-css/src/CSS.php:337
  5. Kata Plus icon Kata Plus300+ installs do_action( 'kirki_dynamic_css' ) includes/vendors/kirki/kirki-packages/module-css/src/CSS.php:342
  6. Finest Floating Cart for WooCommerce icon Finest Floating Cart for WooCommerce100+ installs do_action( 'kirki_dynamic_css' ) lib/modules/css/class-kirki-modules-css.php:205
  7. Home Improvement Companion icon Home Improvement Companion50+ installs do_action( 'kirki_dynamic_css' ) vendors/kirki/kirki-packages/module-css/src/CSS.php:337
  8. Hill Extension icon Hill Extension10+ installs do_action( 'kirki_dynamic_css' ) inc/kirki/packages/kirki-framework/module-css/src/CSS.php:337
  9. Easy Custom Cursor icon Easy Custom CursorFewer than 10 installs do_action( 'kirki_dynamic_css' ) lib/modules/css/class-kirki-modules-css.php:205

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.