Astra_Dynamic_CSS::support_font_css_to_widget_and_in_editor()
Font CSS support for widget-title heading fonts & fonts which are not working in editor.
Description
- Adding Font-weight support to widget titles.
- Customizer font CSS not supporting in editor.
Return
(boolean) false if it is an existing user, true if not.
Source
File: inc/class-astra-dynamic-css.php
public static function support_font_css_to_widget_and_in_editor() { $astra_settings = get_option( ASTRA_THEME_SETTINGS ); $astra_settings['can-support-widget-and-editor-fonts'] = isset( $astra_settings['can-support-widget-and-editor-fonts'] ) ? false : true; return apply_filters( 'astra_heading_fonts_typo_support', $astra_settings['can-support-widget-and-editor-fonts'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |