Tips on Customizing Otter – Page Builder Blocks & Extensions for Gutenberg

How to Hide the "Otter" Admin Menu

function plt_hide_otter_blocks_menus() {
	//Hide the "Settings → Otter" menu.
	remove_submenu_page('options-general.php', 'otter');
}

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

Where do I put this code?

How to Hide the "WooCommerce Builder by Otter" Meta Box

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

	//Hide the "WooCommerce Builder by Otter" meta box.
	remove_meta_box('otter_woo_builder', $screen->id, 'side');
}

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

How to Hide the "WordPress Guides/Tutorials" Dashboard Widget

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

	//Remove the "WordPress Guides/Tutorials" widget.
	remove_meta_box('themeisle', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_otter_blocks_dashboard_widgets', 20);