Posted By

swoicik on 12/18/11


Tagged

wordpress functions


Versions (?)

Remove Personal Options from Profile Menu


 / Published in: PHP
 

  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  

You need to login to post a comment.