How to Hide WP Report Post Admin Menus

function plt_hide_wp_report_post_menus() {
	//Hide the "Reported Posts" menu.
	remove_menu_page('wp-report-post');
	//Hide the "Reported Posts → Reported Posts" menu.
	remove_submenu_page('wp-report-post', 'wp-report-post');
	//Hide the "Reported Posts → Options" menu.
	remove_submenu_page('wp-report-post', 'wp-report-post-options');
}

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

Where do I put this code?