Remove unneeded User settings fields in WordPress
<?php
// Hook into the admin footer
add_action( 'admin_footer-user-edit.php', 'remove_user_fields' );
// Print jQuery that removes unneeded elements
function remove_user_fields(){
?>
<script type="text/javascript">
jQuery(document).ready( function($) {
var ids = ['#rich_editing', // Rich editing button
'#admin_color_classic', // Admin color scheme
'#comment_shortcuts', // Keyboard shortcuts for comment moderation
'#aim', // AOL instant messenger
'#yim', // Yahoo messenger
'#jabber', // Jabber
'#description']; // User bio
for (var i = 0; i < ids.length; i++) {
$(ids[i]).closest('tr').remove();
}
});
</script>
<?php
}