From 1fbc89c87b845408ef40e24acd4c45681559ec7e Mon Sep 17 00:00:00 2001 From: Geoff Dusome Date: Mon, 16 Dec 2024 14:08:08 -0500 Subject: [PATCH] [MOOSE-175]: disable font library UI --- .../core/src/Theme_Config/Block_Editor.php | 16 ++++++++++++++++ .../src/Theme_Config/Theme_Config_Subscriber.php | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 wp-content/plugins/core/src/Theme_Config/Block_Editor.php diff --git a/wp-content/plugins/core/src/Theme_Config/Block_Editor.php b/wp-content/plugins/core/src/Theme_Config/Block_Editor.php new file mode 100644 index 00000000..a3e20504 --- /dev/null +++ b/wp-content/plugins/core/src/Theme_Config/Block_Editor.php @@ -0,0 +1,16 @@ +container->get( Block_Editor::class )->disable_font_library_ui( $settings ); + } ); + // Remove comments page in menu add_action( 'admin_menu', function (): void { $this->container->get( Comment_Support::class )->remove_comments_menu_item();