function plt_hide_best_wp_lightweight_menus() { //Hide the "WP Lightweight" menu. remove_menu_page('crb_carbon_fields_container_best_wp_lightweight.php'); } add_action('admin_menu', 'plt_hide_best_wp_lightweight_menus', 11);
Where do I put this code?