function plt_hide_church_dictionary_menus() { //Hide the "Settings → Church Dictionary" menu. remove_submenu_page('options-general.php', 'chdc_option'); } add_action('admin_menu', 'plt_hide_church_dictionary_menus', 11);
Where do I put this code?