How to Hide WP User Profile Avatar Admin Menus

function plt_hide_wp_user_profile_avatar_menus() {
	//Hide "WP User Profile Avatar".
	remove_menu_page('wp-user-profile-avatar');
	//Hide "WP User Profile Avatar → WP User Profile Avatar".
	remove_submenu_page('wp-user-profile-avatar', 'wp-user-profile-avatar');
	//Hide "WP User Profile Avatar → WP Username Change".
	remove_submenu_page('wp-user-profile-avatar', 'wpupa_username_change');
	//Hide "WP User Profile Avatar → WP Avatar User Role Settings".
	remove_submenu_page('wp-user-profile-avatar', 'avatar-social-picture');
	//Hide "WP User Profile Avatar → Disable Comments".
	remove_submenu_page('wp-user-profile-avatar', 'disable_comments_settings');
	//Hide "WP User Profile Avatar → Delete Comments".
	remove_submenu_page('wp-user-profile-avatar', 'disable_comments_tools');
}

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

Where do I put this code?