function plt_hide_enhanced_comment_validation_menus() { //Hide the "Enhanced Comment Validation" menu. remove_menu_page('enhanced-comment-validation'); } add_action('admin_menu', 'plt_hide_enhanced_comment_validation_menus', 11);
Where do I put this code?