Tips on Customizing My Pricing Table – Create Responsive Pricing Tables

How to Hide My Pricing Table Admin Menus

function plt_hide_my_pricing_table_menus() {
	//Hide the "Pricing Table" menu.
	remove_menu_page('edit.php?post_type=bppt-pricing-table');
	//Hide the "Pricing Table → All Pricing Tables" menu.
	remove_submenu_page('edit.php?post_type=bppt-pricing-table', 'edit.php?post_type=bppt-pricing-table');
	//Hide the "Pricing Table → Add New Pricing Table" menu.
	remove_submenu_page('edit.php?post_type=bppt-pricing-table', 'post-new.php?post_type=bppt-pricing-table');
}

add_action('admin_menu', 'plt_hide_my_pricing_table_menus', 15);

Where do I put this code?

How to Hide the "Pricing Table Settings" Meta Box

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

	//Hide the "Pricing Table Settings" meta box.
	remove_meta_box('_bpptable_', $screen->id, 'advanced');
}

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