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:
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.
-
Kirki400,000+ installs
do_action( 'kirki_dynamic_css' )customizer/packages/modules/css/src/CSS.php:375 -
Jupiter X Core70,000+ installs
do_action( 'kirki_dynamic_css' )includes/customizer/vendors/kirki/packages/kirki-framework/module-css/src/CSS.php:340 -
Envo Extra20,000+ installs
do_action( 'kirki_dynamic_css' )include/packages/kirki-framework/module-css/src/CSS.php:337 -
Futurio Extra10,000+ installs
do_action( 'kirki_dynamic_css' )inc/framework/kirki-packages/module-css/src/CSS.php:337 -
Kata Plus300+ installs
do_action( 'kirki_dynamic_css' )includes/vendors/kirki/kirki-packages/module-css/src/CSS.php:342 -
Finest Floating Cart for WooCommerce100+ installs
do_action( 'kirki_dynamic_css' )lib/modules/css/class-kirki-modules-css.php:205 -
Home Improvement Companion50+ installs
do_action( 'kirki_dynamic_css' )vendors/kirki/kirki-packages/module-css/src/CSS.php:337 -
Hill Extension10+ installs
do_action( 'kirki_dynamic_css' )inc/kirki/packages/kirki-framework/module-css/src/CSS.php:337 -
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.