WordPress filter hook

redux_custom_fonts_localized_data

Fired by 15 WordPress plugins, running on 907K+ sites between them.

How to use redux_custom_fonts_localized_data

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

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

15 plugins that fire redux_custom_fonts_localized_data

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

  1. Redux Framework icon Redux Framework900,000+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:177
  2. Worth The Read icon Worth The Read3,000+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) options/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:168
  3. Slick Popup: Contact Form 7 Popup Plugin icon Slick Popup: Contact Form 7 Popup Plugin1,000+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) libs/admin/redux-framework/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:168
  4. Admin Tweaks icon Admin Tweaks800+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) inc/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  5. DirectoryPress icon DirectoryPress600+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) admin/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  6. Cryptocurrency Payment Gateway icon Cryptocurrency Payment Gateway300+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) admin/redux-framework/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  7. Web Directory plugin Free icon Web Directory plugin Free300+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) core/redux/core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  8. Restrictions for BuddyPress icon Restrictions for BuddyPress300+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) includes/options/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  9. C4D Plugin Manager icon C4D Plugin Manager100+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) redux-framework/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  10. Dooodl icon Dooodl50+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) includes/libs/redux-framework/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  11. TC Ecommerce icon TC Ecommerce30+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) framework/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  12. Floating Icons icon Floating Icons10+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) adminside/admin/redux-framework/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:168
  13. WP Total Branding icon WP Total Branding10+ installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) includes/libs/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  14. Lenxel AI LMS icon Lenxel AI LMSFewer than 10 installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'lenxel-core' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'lenxel-core' ), 'convert' => esc_html__( 'Converting font file(s)...', 'lenxel-core' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making note of any ... ) redux/redux-framework/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166
  15. Saksh WP Hotel Booking Lite icon Saksh WP Hotel Booking LiteFewer than 10 installs apply_filters( 'redux_custom_fonts_localized_data', array( 'delete_error' => esc_html__( 'There was an error deleting your font:', 'redux-framework' ), 'unzip' => esc_html__( 'Unzipping archive and generating any missing font files.', 'redux-framework' ), 'convert' => esc_html__( 'Converting font file(s)...', 'redux-framework' ), 'partial' => esc_html__( 'The only file(s) imported were those uploaded. Please refresh the page to continue (making ... ) redux-framework/redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php:166

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.