/** * 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); }
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); }