Make fonts available in admin

This commit is contained in:
Tetrakern 2024-02-08 20:57:39 +01:00
parent 96e904e8c4
commit 274d4b76fa
3 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ Fictioneer customizes WordPress by using as many standard action and filter hook
| `admin_enqueue_scripts` | `fictioneer_admin_scripts`, `fictioneer_admin_styles`, `fictioneer_disable_moderator_comment_edit`, `fictioneer_hide_private_data`
| `admin_footer-post.php` | `fictioneer_classic_editor_js_restrictions`, `fictioneer_hide_permalink_with_js`
| `admin_footer-post-new.php` | `fictioneer_classic_editor_js_restrictions`
| `admin_head` | `fictioneer_remove_update_notice`, `fictioneer_hide_epub_inputs`, `fictioneer_hide_story_sticky_checkbox`
| `admin_head` | `fictioneer_remove_update_notice`, `fictioneer_hide_epub_inputs`, `fictioneer_hide_story_sticky_checkbox`, `fictioneer_output_head_fonts`
| `admin_head-post.php` | `fictioneer_hide_permalink_with_css`, `fictioneer_classic_editor_css_restrictions`
| `admin_head-post-new.php` | `fictioneer_classic_editor_css_restrictions`
| `admin_head-profile.php` | `fictioneer_remove_profile_blocks`

View File

@ -1 +0,0 @@
/* stub */

View File

@ -1128,6 +1128,7 @@ function fictioneer_output_head_fonts() {
}
}
add_action( 'wp_head', 'fictioneer_output_head_fonts', 5 );
add_action( 'admin_head', 'fictioneer_output_head_fonts', 5 );
// =============================================================================
// MODIFY ROBOTS META