Tips on Customizing Gutenberg Blocks Library & Framework – Redux

How to Hide the "Redux Framework" Admin Menu

function plt_hide_redux_framework_menus() {
	//Hide the "Tools → Redux Framework" menu.
	remove_submenu_page('tools.php', 'redux-framework');
}

add_action('admin_menu', 'plt_hide_redux_framework_menus', 11);

Where do I put this code?

How to Hide the "Post Attributes" Meta Box

function plt_hide_redux_framework_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Post Attributes" meta box.
	remove_meta_box('pageparentdiv', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_redux_framework_metaboxes', 20);