Remove Personal Options from Profile Menu


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function hide_personal_options(){
  2. 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";
  3. }
  4. add_action('admin_head','hide_personal_options');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.