function plt_hide_a3_lazy_load_menus() { //Hide the "Settings → a3 Lazy Load" menu. remove_submenu_page('options-general.php', 'a3-lazy-load'); } add_action('admin_menu', 'plt_hide_a3_lazy_load_menus', 11);
Where do I put this code?