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