Tips on Customizing WP Photo Album Plus

How to Hide WP Photo Album Plus Admin Menus

function plt_hide_wp_photo_album_plus_menus() {
	//Hide "PhotoAlbums".
	remove_menu_page('wppa_admin_menu');
	//Hide "PhotoAlbums → Album Admin".
	remove_submenu_page('wppa_admin_menu', 'wppa_admin_menu');
	//Hide "PhotoAlbums → Upload Photos".
	remove_submenu_page('wppa_admin_menu', 'wppa_upload_photos');
	//Hide "PhotoAlbums → Import Photos".
	remove_submenu_page('wppa_admin_menu', 'wppa_import_photos');
	//Hide "PhotoAlbums → Moderate Photos".
	remove_submenu_page('wppa_admin_menu', 'wppa_moderate_photos');
	//Hide "PhotoAlbums → Export Photos".
	remove_submenu_page('wppa_admin_menu', 'wppa_export_photos');
	//Hide "PhotoAlbums → Settings".
	remove_submenu_page('wppa_admin_menu', 'wppa_options');
	//Hide "PhotoAlbums → Photo of the day".
	remove_submenu_page('wppa_admin_menu', 'wppa_photo_of_the_day');
	//Hide "PhotoAlbums → Comments".
	remove_submenu_page('wppa_admin_menu', 'wppa_manage_comments');
	//Hide "PhotoAlbums → Documentation".
	remove_submenu_page('wppa_admin_menu', 'wppa_help');
}

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

Where do I put this code?

How to Hide the "Recent WPPA activity" Dashboard Widget

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

	//Remove the "Recent WPPA activity" widget.
	remove_meta_box('wppa-activity', 'dashboard', 'normal');
}

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