예제 #1
0
/**
 * Get recognized font faces.
 *
 * Returns an array of all recognized font faces.
 * Keys are intended to be stored in the database
 * while values are ready for display in in html.
 *
 * @return   array
 */
function hoot_of_recognized_font_faces()
{
    $default = array_merge(Hoot_Options_Helper::fonts('websafe'), Hoot_Options_Helper::fonts('google-fonts'));
    return apply_filters('hoot_of_recognized_font_faces', $default);
}
예제 #2
0
 function hoot_enum_font_faces($return = '')
 {
     $default = empty($return) || $return == 'list' ? array_merge(Hoot_Options_Helper::fonts('websafe'), Hoot_Options_Helper::fonts('google-fonts')) : Hoot_Options_Helper::fonts($return);
     return apply_filters('hoot_enum_font_faces', $default, $return);
 }