WordPress filter hook
cs_websafe_fonts
Fired by 17 WordPress plugins, running on 1,140+ sites between them.
How to use cs_websafe_fonts
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( 'cs_websafe_fonts', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Aitasi Coming Soon's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
17 plugins that fire cs_websafe_fonts
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Aitasi Coming Soon900+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )admin/codestar-framework/fields/typography/typography.php:34 -
Business Template Blocks for WPBakery (Visual Composer) Page Builder60+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )inc/framework/fields/typography/typography.php:34 -
Easy Woocommerce Customizer50+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )options/fields/typography/typography.php:34 -
Post Slider20+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )cs-framework/fields/typography/typography.php:34 -
Nasim Persian Maker20+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )fields/typography/typography.php:34 -
Sticky One-Many10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )library/csf/fields/typography/typography.php:34 -
My Right Horse10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )fields/typography/typography.php:34 -
Back Top10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )setting-page/fields/typography/typography.php:34 -
CC Manga Comic Reader10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )lib/codestar-framework/fields/typography/typography.php:34 -
Essential Hover Effects10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )admin/framework/fields/typography/typography.php:34 -
Awesome WordPress Slider10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )inc/cs-framework/fields/typography/typography.php:34 -
Amazing Portfolio10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )inc/framework/fields/typography/typography.php:34 -
Ultimate Carousel10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )inc/framework/fields/typography/typography.php:34 -
WP TAB10+ installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )assets/admin/fields/typography/typography.php:34 -
All in All Image Hover EffectFewer than 10 installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )cu-framework/fields/typography/typography.php:34 -
Electro Pricing Tables LiteFewer than 10 installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )lib/codestar-framework-1.0.1/fields/typography/typography.php:34 -
RS Coming SoonFewer than 10 installs
apply_filters( 'cs_websafe_fonts', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Impact', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Courier New', 'Lucida Console', 'Georgia, serif', 'Palatino Linotype', 'Times New Roman' ) )admin/fields/typography/typography.php:34
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.