How to Use and Disable Custom Fonts in AlertsDLX
Disable the Lato font using filter: alerts_dlx_load_fonts
/**
* This disables the AlertsDLX Fonts.
*/
add_filter( 'alerts_dlx_load_fonts', '__return_false' );Use an Alternate Font using filter: alerts_dlx_default_font_family
<?php
/**
* AlertsDLX Disable Fonts
*
* @package AlertsDLX
* @subpackage Fonts
* @since 2.3.0
*/
/**
* This disables the AlertsDLX Fonts.
*/
add_filter( 'alerts_dlx_load_fonts', '__return_false' );
/**
* This changes the default font family to Raleway.
* @return string The default font family.
*/
add_filter(
'alerts_dlx_default_font_family',
function () {
return 'Raleway, sans-serif';
}
);Last updated