Dear WordPress developer, I want to create add new role, where have only custom post and taxonomy category when login those type author. I have all ready create role and custom post type and taxonomy, and when login those role user in dashboard then show profile menu,custom post type with taxonomy and extra show menu post category and tag that i want to remove.
Please help me which those role capabilities add_cap in add_role() and register_taxonomy() function.My code bellow Thanks