How do I allow certain users to make a certain type of post?
The following will assign capability requirements to your CPT. So, users will require edit_community, delete_community etc capabilities to perform those actions. function createCommunityPostType() { $args = array( ‘public’ => true, ‘label’ => ‘Community’ ‘capability_type’ => ‘community’, ‘map_meta_cap’ => true ); register_post_type(‘community’, $args ); } add_action(‘init’, ‘createCommunityPostType’); See the parts about capabilities in the codex. You … Read more