Enable and Disable Meta Boxes Sitewide on Dashboard, and post/page/link edit forms.

I needed to hide the “Custom Fields” or “Author” meta boxes, and I don’t want the primary and secondary dashboard feed meta boxes on any Dashboard.

Toggles the following in WPMU 2.7

  • ‘Site Administrator Gets Limited Meta Boxes?’,
  • ‘Post Publish’,
  • ‘Post Tags’,
  • ‘Post Categories’,
  • ‘Post Excerpt’,
  • ‘Post Send Trackbacks’,
  • ‘Post Custom Fields’,
  • ‘Post Discussion’,
  • ‘Post Slug’,
  • ‘Post Author’,
  • ‘Post Revisions’,
  • ‘Page Publish’,
  • ‘Page Attributes’,
  • ‘Page Custom Fields’,
  • ‘Page Discussion’,
  • ‘Page Slug’,
  • ‘Page Author’,
  • ‘Page Revisions’,
  • ‘Link Save’,
  • ‘Link Categories’,
  • ‘Link Target’,
  • ‘Link Relationship (XFN)’,
  • ‘Link Advanced’,
  • ‘Dashboard Primary’,
  • ‘Dashboard Secondary’,
  • ‘Dashboard Recent Drafts’,
  • ‘Dashboard QuickPress’,
  • ‘Dashboard Plugins’,
  • ‘Dashboard Incoming Links’,
  • ‘Dashboard Recent Comments’,
  • ‘Dashboard Right Now’,

Installation:
Drop into mu-plugins.
Visit SiteAdmin–>Options to enable/disable meta boxes: Meta Boxes (Enable or disable WP Backend Meta Boxes)

Notes:
All options are stored in the existing “menu_perms” site_option array.

Meta box functions are effectively removed, but Quick Edit functions are untouched.

Example, removing the Post Categories meta box will stop users from editing categories while editing a post in the edit-form-advanced, but Quick Edit will still allow the Post Categories to be changed.

I’d like a toggle to remove inputs from the Quick Edit forms(author especially) but that’ll wait for another day.

Download

Comments are closed.