HEX
Server: Apache
System: Linux cpanel91.fastsecurehost.com 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64
User: harmonyg (1050)
PHP: 8.2.29
Disabled: shell, shell_exec, exec, ini_alter, dl, show_source, passthru, system, eval, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
Upload Files
File: /home/harmonyg/www/ektest/wp-content/themes/teczilla/library/teczilla-typography.php
<?php
if( ! function_exists( 'avadanta_custom_typography_css' ) ):
    function avadanta_custom_typography_css() {
    
	$teczilla_typography_show = get_theme_mod('teczilla_show_typography', 0);
    If($teczilla_typography_show == 1):
        
        $teczilla_custom_css1 = '';
		if(get_theme_mod('teczilla_typography_base_font_family') != null):
			$teczilla_custom_css1 .="body { font-family: " .esc_attr( get_theme_mod('teczilla_typography_base_font_family') )." !important; }\n";
        endif;
    
        wp_add_inline_style( 'teczilla-style', $teczilla_custom_css1 );
		
		endif;
    }
endif;
add_action( 'wp_enqueue_scripts', 'avadanta_custom_typography_css' );