How to Hide the "Profile Avatar Settings" Admin Menu

function plt_hide_wp_user_profile_avatar_menus() {
	//Hide the "Users → Profile Avatar Settings" menu.
	remove_submenu_page('users.php', 'wp-user-profile-avatar-settings');
}

add_action('admin_menu', 'plt_hide_wp_user_profile_avatar_menus', 13);

Where do I put this code?