Tips on Customizing WP Listings Pro

How to Hide WP Listings Pro Admin Menus

function plt_hide_wp_listings_pro_menus() {
	//Hide "Settings → WPL PRO".
	remove_submenu_page('options-general.php', 'wp-listings-settings');

	//Hide "Countries".
	remove_menu_page('edit.php?post_type=country');
	//Hide "Countries → Countries".
	remove_submenu_page('edit.php?post_type=country', 'edit.php?post_type=country');
	//Hide "Countries → Add Post".
	remove_submenu_page('edit.php?post_type=country', 'post-new.php?post_type=country');

	//Hide "Employees".
	remove_menu_page('edit.php?post_type=employee');
	//Hide "Employees → Employees".
	remove_submenu_page('edit.php?post_type=employee', 'edit.php?post_type=employee');
	//Hide "Employees → Add New Employee".
	remove_submenu_page('edit.php?post_type=employee', 'post-new.php?post_type=employee');
	//Hide "Employees → Offices".
	remove_submenu_page('edit.php?post_type=employee', 'edit-tags.php?taxonomy=offices&post_type=employee');
	//Hide "Employees → Job Types".
	remove_submenu_page('edit.php?post_type=employee', 'edit-tags.php?taxonomy=job-types&post_type=employee');
	//Hide "Employees → IDX Broker Import".
	remove_submenu_page('edit.php?post_type=employee', 'wplpro-idx-agent');
	//Hide "Employees → Register Taxonomies".
	remove_submenu_page('edit.php?post_type=employee', 'wplpro-agents-taxonomies');

	//Hide "Listings".
	remove_menu_page('edit.php?post_type=listing');
	//Hide "Listings → Listings".
	remove_submenu_page('edit.php?post_type=listing', 'edit.php?post_type=listing');
	//Hide "Listings → Add New Listing".
	remove_submenu_page('edit.php?post_type=listing', 'post-new.php?post_type=listing');
	//Hide "Listings → Status".
	remove_submenu_page('edit.php?post_type=listing', 'edit-tags.php?taxonomy=status&post_type=listing');
	//Hide "Listings → Locations".
	remove_submenu_page('edit.php?post_type=listing', 'edit-tags.php?taxonomy=locations&post_type=listing');
	//Hide "Listings → Property Types".
	remove_submenu_page('edit.php?post_type=listing', 'edit-tags.php?taxonomy=property-types&post_type=listing');
	//Hide "Listings → Features".
	remove_submenu_page('edit.php?post_type=listing', 'edit-tags.php?taxonomy=features&post_type=listing');
	//Hide "Listings → IDX Broker Import".
	remove_submenu_page('edit.php?post_type=listing', 'wplistings-idx-listing');
	//Hide "Listings → Register Taxonomies".
	remove_submenu_page('edit.php?post_type=listing', 'register-taxonomies');
}

add_action('admin_menu', 'plt_hide_wp_listings_pro_menus', 16);

Where do I put this code?

How to Hide WP Listings Pro Meta Boxes

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

	//Hide the "Employee Info" meta box.
	remove_meta_box('employee_details_metabox', $screen->id, 'normal');
	//Hide the "Synchronization Settings" meta box.
	remove_meta_box('employee_sync_metabox', $screen->id, 'normal');
	//Hide the "Sync Settings" meta box.
	remove_meta_box('listing_sync_metabox', $screen->id, 'side');
	//Hide the "Property Details" meta box.
	remove_meta_box('listing_details_metabox', $screen->id, 'normal');
	//Hide the "Additional Details" meta box.
	remove_meta_box('listing_features_metabox', $screen->id, 'normal');
	//Hide the "Lead Tools" meta box.
	remove_meta_box('listing_contact_metabox', $screen->id, 'normal');
	//Hide the "Agent Assignments" meta box.
	remove_meta_box('listing_assignment_metabox', $screen->id, 'normal');
	//Hide the "Photo Gallery" meta box.
	remove_meta_box('wplpro-listing-images', $screen->id, 'normal');
	//Hide the "Documents" meta box.
	remove_meta_box('wplpro-listing-docs', $screen->id, 'normal');
	//Hide the "Map and Location" meta box.
	remove_meta_box('listing_location_metabox', $screen->id, 'advanced');
	//Hide the "Pricing" meta box.
	remove_meta_box('listing_pricing_metabox', $screen->id, 'advanced');
}

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