Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to remove "Pending Review" (Status) and "Password protected" (Visibility) options from Publish metabox. Any ideas how can I do it?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

i don't see any filters you could latch on it in wp-admin/includes/metaboxes.php. but, you could remove the box and replace it with your own version... for example: this tut removes the categories metabox and replaces it w/ a new version

http://www.ilovecolors.com.ar/avoid-hierarchical-taxonomies-to-loose-hierarchy/

share|improve this answer
add comment

I always do it with Frank Bültge's Adminimize

  • in Global Options, you'll find Your Own Options
  • in the left column you put any name for your reference
  • in the right column you put the ID or Classes you want to hide
  • if I'm not mistaken, you'd want to hide this #visibility.misc-pub-section,.misc-pub-section.curtime.misc-pub-section-last

Here's a reference list of mine with examples and a screenshot... you can go pretty wild and hide a whole bunch of stuff, and select what to hide according to user roles, it's just a matter of using Firebug or any Inspector and you'll end up with a minimalist admin.

share|improve this answer
add comment

Take a look at this Question and my answer, which is quite similar.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.