Posted By

javifr on 10/29/10


Tagged

panel wordpress admin customization


Versions (?)

Admin remove dropdown menus


 / Published in: PHP
 

  1. add_action('admin_head','remove_contextual_dropdowns');
  2.  
  3.  
  4. function remove_contextual_dropdowns(){
  5.  
  6. echo "<style type='text/css' media='screen'>#update-nag{display:none;}#toplevel_page_wp-e-commerce-display-log{display:none}</style>";
  7.  
  8. echo "<style type='text/css' media='screen'>#screen-options-link-wrap{display:none;}</style>";
  9. echo "<style type='text/css' media='screen'>#contextual-help-link-wrap{display:none;}</style>";
  10.  
  11. echo "<style type='text/css' media='screen'>#toplevel_page_wpcf7{display:none;}</style>";
  12. echo "<style type='text/css' media='screen'>#favorite-actions{display:none}</style>";
  13.  
  14. echo "<style type='text/css' media='screen'>.update-nag{display:none}</style>";
  15.  
  16. }
  17.  
  18.  

Report this snippet  

You need to login to post a comment.