WordPress filter hook

redux-google-fonts-api-url

Fired by 24 WordPress plugins, running on 81K+ sites between them.

How to use redux-google-fonts-api-url

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( 'redux-google-fonts-api-url', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

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

24 plugins that fire redux-google-fonts-api-url

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

  1. AMP for WP icon AMP for WP70,000+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) includes/options/redux-core/inc/fields/typography/field_typography.php:1005
  2. QuadMenu icon QuadMenu10,000+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) redux/ReduxCore/inc/fields/typography/field_typography.php:981
  3. Embed Video Thumbnail icon Embed Video Thumbnail200+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/redux-framework/inc/fields/typography/field_typography.php:977
  4. Dima Take Action icon Dima Take Action200+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/redux-framework/ReduxCore/inc/fields/typography/field_typography.php:952
  5. Pollen icon Pollen100+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) includes/options/core/inc/fields/typography/field_typography.php:975
  6. Preloader for Divi icon Preloader for Divi100+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) divipreloader_options/inc/fields/typography/field_typography.php:975
  7. Stylish Links icon Stylish Links100+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) options/inc/fields/typography/field_typography.php:952
  8. Visualmodo Related Posts icon Visualmodo Related Posts100+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) includes/options/core/inc/fields/typography/field_typography.php:975
  9. Night Mode for WordPress icon Night Mode for WordPress70+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) inc/redux-framework/ReduxCore/inc/fields/typography/field_typography.php:975
  10. Workshop Butler icon Workshop Butler20+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.php:975
  11. EmBe Core icon EmBe Core20+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) inc/redux/inc/fields/typography/field_typography.php:975
  12. Disable Back Button icon Disable Back Button10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/redux-framework/inc/fields/typography/field_typography.php:952
  13. Ultimate AMP icon Ultimate AMP10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) inc/admin/redux-core/inc/fields/typography/field_typography.php:952
  14. Dashboard Quick Actions icon Dashboard Quick Actions10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) assets/admin/redux-framework/inc/fields/typography/field_typography.php:952
  15. Awesome Arrow Nav icon Awesome Arrow Nav10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/ReduxCore/inc/fields/typography/field_typography.php:952
  16. Variation image color switches for woocommerce icon Variation image color switches for woocommerce10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) include/redux-framework/ReduxCore/inc/fields/typography/field_typography.php:975
  17. Coming Soon Viral Page by Growtheme icon Coming Soon Viral Page by Growtheme10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/ReduxCore/inc/fields/typography/field_typography.php:952
  18. After Content icon After Content10+ installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) ReduxFramework/ReduxCore/inc/fields/typography/field_typography.php:653
  19. Sophia Twitter Auto Post icon Sophia Twitter Auto PostFewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/redux-framework/inc/fields/typography/field_typography.php:952
  20. Batil icon BatilFewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) inc/redux-framework/ReduxCore/inc/fields/typography/field_typography.php:975
  21. Compare Your Income icon Compare Your IncomeFewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) optionpanel/ReduxCore/inc/fields/typography/field_typography.php:975
  22. Click Blaze icon Click BlazeFewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) inc/inc/fields/typography/field_typography.php:952
  23. Woptifications icon WoptificationsFewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) admin/redux-framework/inc/fields/typography/field_typography.php:952
  24. ADEC (Advance Dynamic E-Commerce) icon ADEC (Advance Dynamic E-Commerce)Fewer than 10 installs apply_filters( 'redux-google-fonts-api-url', 'https://www.googleapis.com/webfonts/v1/webfonts?key=' ) redux-framework/ReduxCore/inc/fields/typography/field_typography.php:952

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.