From 13eeeebf027bb08a4852794bff9b38ef5d2da397 Mon Sep 17 00:00:00 2001 From: Ann Lickander Date: Wed, 2 Feb 2022 10:08:37 +0100 Subject: [PATCH] remove action removing yoast metabox (#57) --- src/Modules/Block_Editor.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Modules/Block_Editor.php b/src/Modules/Block_Editor.php index 28a7a88..843df1c 100644 --- a/src/Modules/Block_Editor.php +++ b/src/Modules/Block_Editor.php @@ -18,9 +18,6 @@ class Block_Editor extends Module { public static function hooks(): void { // Disable the block directory in the editor. add_action( 'plugins_loaded', [ self::class, 'disable_block_directory' ] ); - - // Disable Yoast metabox if Block Editor. - add_action( 'add_meta_boxes', [ self::class, 'remove_yoast_metabox_in_block_editor' ], 999 ); } /**