of_recognized_font_faces

Get recognized font faces.

Description

(array) of_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.

Returns (array)


Usage

  1. if ( !function_exists( 'of_recognized_font_faces' ) ) { 
  2. require_once '/inc/includes/class-options-sanitize.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = of_recognized_font_faces(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/includes/class-options-sanitize.php  
  1. function of_recognized_font_faces() { 
  2. $default = array( 
  3. 'arial' => 'Arial',  
  4. 'verdana' => 'Verdana, Geneva',  
  5. 'trebuchet' => 'Trebuchet',  
  6. 'georgia' => 'Georgia',  
  7. 'times' => 'Times New Roman',  
  8. 'tahoma' => 'Tahoma, Geneva',  
  9. 'palatino' => 'Palatino',  
  10. 'helvetica' => 'Helvetica*' 
  11. ); 
  12. return apply_filters( 'of_recognized_font_faces', $default );