Prevent authors from creating new posts of specific custom-post-type

The way I’m set up currently, I create a post for each user of the site, custom-post-type, Agent, then assign it to a user, and they can edit it however they like. What I want to remove or disable is in the admin side, Agents/Add New.

Currently all users are set to Author, so if I could make it so if the user is an Author they can’t create new posts of custom-post-type, Agent.

Read More

I’d also like to remove the ability of the author to create standard wordpress posts.

The caveat to all this is I need to allow authors to create as many posts as they like as custom-post-type, Property.

Here is a pic of what I want to remove (in red) for agents custom-post-type, if the user is an author.

enter image description here

Related posts

Leave a Reply

1 comment