function plt_hide_email_encoder_bundle_menus() { //Hide the "Settings → Email Encoder" menu. remove_submenu_page('options-general.php', 'email-encoder-bundle-option-page'); } add_action('admin_menu', 'plt_hide_email_encoder_bundle_menus', 151);
Where do I put this code?