<?php // Add plugin-specific colors and fonts to the custom CSS if ( ! function_exists( 'bonbon_extra_get_css' ) ) { add_filter( 'bonbon_filter_get_css', 'bonbon_extra_get_css', 10, 2 ); function bonbon_extra_get_css( $css, $args ) { if ( isset( $css['fonts'] ) && isset( $args['fonts'] ) ) { $fonts = $args['fonts']; $css['fonts'] .= <<<CSS .sc_layouts_item_details, .trx_addons_bg_text_char, .trx_addons_alter_text { {$fonts['h5_font-family']} } .single_product_custom_text_style .custom_icons_3, .social_item.social_item_type_names span.social_name, .sc_socials.sc_socials_icons_names .social_item span.social_name { {$fonts['p_font-family']} } CSS; } return $css; } }