Remove add post for user role
I add new role with WP Members, I also use Publishpress and user role editor
For my new role, I want to disable the capability to create posts (built-in not custom post), not only with CSS but the entire capability. My custom role can only edit post
I know it’s possible, I already see that but I can’t find how to do this.
I tried to remove_cap(‘create_post’) but it doesn’t work
Could you help me please ?