function plt_hide_themify_shortcodes_menus() { //Hide the "Settings → Themify Shortcodes" menu. remove_submenu_page('options-general.php', 'themify-shortcodes'); } add_action('admin_menu', 'plt_hide_themify_shortcodes_menus', 101);
Where do I put this code?