Skip to content

Commit

Permalink
remove action removing yoast metabox (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
annlickander authored Feb 2, 2022
1 parent 71432e1 commit 13eeeeb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Modules/Block_Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

/**
Expand Down

0 comments on commit 13eeeeb

Please sign in to comment.