ASTRA_Ext_Edd_Markup::add_fonts()
Add Font Family Callback
Description
Return
(void)
Source
File: addons/edd/classes/class-astra-ext-edd-markup.php
public function add_fonts() { $font_family_product_title = astra_get_option( 'font-family-edd-product-title' ); $font_weight_product_title = astra_get_option( 'font-weight-edd-product-title' ); Astra_Fonts::add_font( $font_family_product_title, $font_weight_product_title ); $font_family_shop_product_title = astra_get_option( 'font-family-edd-archive-product-title' ); $font_weight_shop_product_title = astra_get_option( 'font-weight-edd-archive-product-title' ); Astra_Fonts::add_font( $font_family_shop_product_title, $font_weight_shop_product_title ); $font_family_shop_product_price = astra_get_option( 'font-family-edd-archive-product-price' ); $font_weight_shop_product_price = astra_get_option( 'font-weight-edd-archive-product-price' ); Astra_Fonts::add_font( $font_family_shop_product_price, $font_weight_shop_product_price ); $font_family_shop_product_content = astra_get_option( 'font-family-edd-archive-product-content' ); $font_weight_shop_product_content = astra_get_option( 'font-weight-edd-archive-product-content' ); Astra_Fonts::add_font( $font_family_shop_product_content, $font_weight_shop_product_content ); $font_family_product_content = astra_get_option( 'font-family-edd-product-content' ); $font_weight_product_content = astra_get_option( 'font-weight-edd-product-content' ); Astra_Fonts::add_font( $font_family_product_content, $font_weight_product_content ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.6.10 | Introduced. |