How to Hide Advanced Access Manager Admin Menus

function plt_hide_advanced_access_manager_menus() {
	//Hide the "AAM" menu.
	remove_menu_page('aam');
}

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

Where do I put this code?