WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 33 | $locale = get_bloginfo( 'language' ); |
| 34 | |
| 35 | /** |
| 36 | * Filters the fallback fonts for non-latin languages. |
| 37 | * |
| 38 | * @since Twenty Twenty 1.0 |
| 39 | * |
| 40 | * @param array $font_family An array of locales and font families. |
| 41 | */ |
| 42 | $font_family = apply_filters( |
| 43 | 'twentytwenty_get_localized_font_family_types', |
| 44 | array( |
| 45 | |
| 46 | // Arabic. |
| 47 | 'ar' => array( 'Tahoma', 'Arial', 'sans-serif' ), |
| 48 | 'ary' => array( 'Tahoma', 'Arial', 'sans-serif' ), |
| 49 | 'azb' => array( 'Tahoma', 'Arial', 'sans-serif' ), |
| 50 | 'ckb' => array( 'Tahoma', 'Arial', 'sans-serif' ), |
| 51 | 'fa-IR' => array( 'Tahoma', 'Arial', 'sans-serif' ), |