function plt_hide_wp_cfm_menus() { //Hide the "Settings → WP-CFM" menu. remove_submenu_page('options-general.php', 'wpcfm'); } add_action('admin_menu', 'plt_hide_wp_cfm_menus', 11);
Where do I put this code?