Tips on Customizing Booking Calendar

How to Hide Booking Calendar Admin Menus

function plt_hide_booking_menus() {
	//Hide "Booking".
	remove_menu_page('wpbc');
	//Hide "Booking → Bookings".
	remove_submenu_page('wpbc', 'wpbc');
	//Hide "Booking → Add Booking".
	remove_submenu_page('wpbc', 'wpbc-new');
	//Hide "Booking → Settings".
	remove_submenu_page('wpbc', 'wpbc-settings');
	//Hide "Booking → Premium".
	remove_submenu_page('wpbc', 'wpbc-go-pro');
}

add_action('admin_menu', 'plt_hide_booking_menus', 12);

Where do I put this code?

How to Hide the "Booking Calendar" Dashboard Widget

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

	//Remove the "Booking Calendar" widget.
	remove_meta_box('booking_dashboard_widget', 'dashboard', 'normal');
}

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