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

  1. Adding Font-weight support to widget titles.
  2. 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'] );
		}

Changelog

Changelog
Version Description
3.6.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.