Example #1
0
function get_font_fileds_action()
{
    $mt_option = mt_get_plugin_options(true);
    echo get_fonts_field(__('Font family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family']));
}
function get_font_fileds_action()
{
    $mt_option = mt_get_plugin_options(true);
    echo get_fonts_field(__('Font family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family']));
    $subset = '';
    if (!empty($mt_option['body_font_subset'])) {
        $subset = $mt_option['body_font_subset'];
    }
    echo get_fonts_subsets(__('Subsets', 'maintenance'), 'body_font_subset', 'body_font_subset', esc_attr($subset));
}