How to Hide the "Elements" Admin Menu

function plt_hide_envato_elements_menus() {
	//Hide the "Elements" menu.
	remove_menu_page('envato-elements');
}

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

Where do I put this code?