Tips on Customizing pd Android FCM Push Notification

How to Hide pd Android FCM Push Notification Admin Menus

function plt_hide_pd_android_fcm_menus() {
	//Hide "pd Android FCM".
	remove_menu_page('edit.php?post_type=pdandroidfcm');
	//Hide "pd Android FCM → All Devices".
	remove_submenu_page('edit.php?post_type=pdandroidfcm', 'edit.php?post_type=pdandroidfcm');
	//Hide "pd Android FCM → Subscriptions".
	remove_submenu_page('edit.php?post_type=pdandroidfcm', 'edit-tags.php?taxonomy=subscriptions&post_type=pdandroidfcm');
	//Hide "pd Android FCM → Push Notifications".
	remove_submenu_page('edit.php?post_type=pdandroidfcm', 'edit.php?post_type=pdandroidfcm_msg');
	//Hide "pd Android FCM → Settings".
	remove_submenu_page('edit.php?post_type=pdandroidfcm', 'settings');
}

add_action('admin_menu', 'plt_hide_pd_android_fcm_menus', 1000);

Where do I put this code?

How to Hide the "pd Android FCM" Meta Box

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

	//Hide the "pd Android FCM" meta box.
	remove_meta_box('pd_send_push_notif', $screen->id, 'side');
}

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