Remove personal options from user profiles

Adding this snippet to the functions.php of your wordpress theme will remove the personal options from users profiles.

 

 

function hide_personal_options(){
echo "n" . '<script type="text/javascript">jQuery(document).ready(function($) { $('form#your-profile > h3:first').hide(); $('form#your-profile > table:first').hide(); $('form#your-profile').show(); });</script>' . "n";
}
add_action('admin_head','hide_personal_options');

Leave a comment