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
if ( !function_exists( 'of_recognized_font_faces' ) ) { require_once '/inc/includes/class-options-sanitize.php'; } // NOTICE! Understand what this does before running. $result = of_recognized_font_faces();
Defined (1)
The function is defined in the following location(s).
- /inc/includes/class-options-sanitize.php
- function of_recognized_font_faces() {
- $default = array(
- 'arial' => 'Arial',
- 'verdana' => 'Verdana, Geneva',
- 'trebuchet' => 'Trebuchet',
- 'georgia' => 'Georgia',
- 'times' => 'Times New Roman',
- 'tahoma' => 'Tahoma, Geneva',
- 'palatino' => 'Palatino',
- 'helvetica' => 'Helvetica*'
- );
- return apply_filters( 'of_recognized_font_faces', $default );
- }