HEX
Server: Apache
System: Linux e347122.name-servers.gr 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User: princemare_usr2 (10136)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/princessmare.com.gr/httpdocs/wp-content/themes/dt-the7-child/functions.php
<?php
/**
 * Your code here.
 *
 */
function add_custom_font( $fonts ) {
 
$fonts['PalatinoLinotype-Roman'] = 'PalatinoLinotype-Roman';
$fonts['PalatinoLinotype-Italic'] = 'PalatinoLinotype-Italic';
$fonts['PalatinoLinotype-BoldItalic'] = 'PalatinoLinotype-BoldItalic';
$fonts['PalatinoLinotype-Bold'] = 'PalatinoLinotype-Bold';
return $fonts;
}
 
add_filter( 'presscore_options_get_safe_fonts', 'add_custom_font' ,30 , 1 );