WordPress filter hook
kirki/styles_array
Defined by Kirki and fired by 12 plugins in total, running on 501K+ sites between them.
How to use kirki/styles_array
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:
add_filter( 'kirki/styles_array', function( $args ) {
// Change $args here.
return $args;
}, 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/styles_array
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Kirki400,000+ installs
apply_filters( 'kirki/styles_array', $args )customizer/packages/compatibility/src/deprecated/filters.php:92 -
Jupiter X Core70,000+ installs
apply_filters( 'kirki/styles_array', $args )includes/customizer/vendors/kirki/packages/kirki-framework/compatibility/src/deprecated/filters.php:88 -
Envo Extra20,000+ installs
apply_filters( 'kirki/styles_array', $args )include/packages/kirki-framework/compatibility/src/deprecated/filters.php:91 -
Futurio Extra10,000+ installs
apply_filters( 'kirki/styles_array', $args )inc/framework/kirki-packages/compatibility/src/deprecated/filters.php:87 -
Kata Plus300+ installs
apply_filters( 'kirki/styles_array', $args )includes/vendors/kirki/kirki-packages/compatibility/src/deprecated/filters.php:91 -
Finest Floating Cart for WooCommerce100+ installs
apply_filters( 'kirki/styles_array', $args )lib/deprecated/filters.php:87 -
Front Page Builder60+ installs
apply_filters( 'kirki/styles_array', $args )include/framework/deprecated/filters.php:87 -
Home Improvement Companion50+ installs
apply_filters( 'kirki/styles_array', $args )vendors/kirki/kirki-packages/compatibility/src/deprecated/filters.php:87 -
Hill Extension10+ installs
apply_filters( 'kirki/styles_array', $args )inc/kirki/packages/kirki-framework/compatibility/src/deprecated/filters.php:87 -
Realty Pack Core10+ installs
apply_filters( 'kirki/styles_array', $args )app/kirki/deprecated/filters.php:87 -
Azeen CoreFewer than 10 installs
apply_filters( 'kirki/styles_array', $args )inc/kirki/deprecated/filters.php:87 -
Easy Custom CursorFewer than 10 installs
apply_filters( 'kirki/styles_array', $args )lib/deprecated/filters.php:87
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.