WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to remove the post title input on a (cpt) post edit page (backend) based on user's capabilities.

I have already found Stack Overflow question dealing the problem. However, the solution in involves editing the WordPress core files. I don't like it that way.

Is it possible to achieve the hiding (or removing) with a plugin? Currently I do not know or do not see how the plugin should hook into WordPress.

share|improve this question
up vote 4 down vote accepted

You can do this :

add_action('admin_init', 'wpse_110427_hide_title');
function wpse_110427_hide_title() {
 if (current_user_can('subscriber'))
     remove_post_type_support('post', 'title');


This would hide title for subscriber. Replace 'post' with your custom post type

share|improve this answer
That question was too easy for you. works like a charme! – wamps Aug 17 '13 at 14:25
It's subscribEr instead of subscribOr (see your code above) – wamps Aug 17 '13 at 14:27
true. Sorry for that I edit. – JMau Aug 17 '13 at 14:28

Your Answer


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.