Astra_Addon_Update_Filter_Function::support_addon_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: classes/class-astra-addon-update-filter-function.php

	public static function support_addon_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.5.1 Introduced.


User Contributed Notes

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