Tips on Customizing Post Types Unlimited

How to Hide Post Types Unlimited Admin Menus

function plt_hide_post_types_unlimited_menus() {
	//Hide the "Post Types" menu.
	//Hide the "Post Types → Post Types" menu.
	remove_submenu_page('edit.php?post_type=ptu', 'edit.php?post_type=ptu');
	//Hide the "Post Types → Taxonomies" menu.
	remove_submenu_page('edit.php?post_type=ptu', 'edit.php?post_type=ptu_tax');

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

Where do I put this code?

How to Hide Post Types Unlimited Meta Boxes

function plt_hide_post_types_unlimited_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {

	//Hide the "Main Settings" meta box.
	remove_meta_box('ptu_main', $screen->id, 'normal');
	//Hide the "Advanced Settings" meta box.
	remove_meta_box('ptu_advanced', $screen->id, 'normal');
	//Hide the "Custom Labels (optional)" meta box.
	remove_meta_box('ptu_labels', $screen->id, 'normal');
	//Hide the "Main Settings" meta box.
	remove_meta_box('ptu_tax_main', $screen->id, 'normal');
	//Hide the "Advanced Settings" meta box.
	remove_meta_box('ptu_tax_advanced', $screen->id, 'normal');
	//Hide the "Custom Labels (optional)" meta box.
	remove_meta_box('ptu_tax_labels', $screen->id, 'normal');

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