Astra_Ext_Adv_Footer_Markup::add_fonts()
Add Font Family Callback
Description
Source
File: addons/advanced-footer/classes/class-astra-ext-adv-footer-markup.php
public function add_fonts() { $advanced_footer_layout = astra_get_option( 'footer-adv' ); if ( 'disabled' == $advanced_footer_layout ) { return; } $font_family_advanced_footer_title = astra_get_option( 'footer-adv-wgt-title-font-family' ); $font_weight_advanced_footer_title = astra_get_option( 'footer-adv-wgt-title-font-weight' ); $font_family_advanced_footer_content = astra_get_option( 'footer-adv-wgt-content-font-family' ); $font_weight_advanced_footer_content = astra_get_option( 'footer-adv-wgt-content-font-weight' ); Astra_Fonts::add_font( $font_family_advanced_footer_title, $font_weight_advanced_footer_title ); Astra_Fonts::add_font( $font_family_advanced_footer_content, $font_weight_advanced_footer_content ); }
Expand full source code Collapse full source code View on Trac