Astra_Ext_Typography_Loader::customize_register( WP_Customize_Manager $wp_customize )
Add postMessage support for site title and description for the Theme Customizer.
Description
Parameters
- $wp_customize
-
(WP_Customize_Manager) (Required) Theme Customizer object.
Source
File: addons/typography/classes/class-astra-ext-typography-loader.php
Astra_Fonts::add_font( $footer_menu_font_family, $footer_menu_font_weight ); /** * Mobile menu */ $submenu_font_family = astra_get_option( 'header-mobile-menu-sub-menu-font-family' ); $submenu_font_weight = astra_get_option( 'header-mobile-menu-sub-menu-font-weight' ); Astra_Fonts::add_font( $submenu_font_family, $submenu_font_weight ); /** * Header - Language Switcher */ $header_lang_switcher_font_family = astra_get_option( 'font-family-section-hb-language-switcher' ); $header_lang_switcher_font_weight = astra_get_option( 'font-weight-section-hb-language-switcher' ); Astra_Fonts::add_font( $header_lang_switcher_font_family, $header_lang_switcher_font_weight ); /** * Footer - Language Switcher */ $footer_lang_switcher_font_family = astra_get_option( 'font-family-section-fb-language-switcher' ); $footer_lang_switcher_font_weight = astra_get_option( 'font-weight-section-fb-language-switcher' ); Astra_Fonts::add_font( $footer_lang_switcher_font_family, $footer_lang_switcher_font_weight );
Expand full source code Collapse full source code View on Trac