Grant right to custom taxonomie, map_meta_cap
-
Hi Community,
i am relatively new to WP, and on my first project i have the following need:
I have created a custom content (lets say “cevent”) type and a custom taxonomie (lets say “ceventfeature”) with CPT UI.
A custom Role (lets say “ceventeditors”) should be able to create content of the type “cevent”.
This works well with the exception, that ceventeditors can not assign Taxonomy Terms to the cevent they have created. Only if i also assign the right to edit standard posts to ceventeditors they can do so.
I have googled a bit, and it seems to me, that adding
“map_meta_cap” => true
and perhaps
“capability_type” => “ceventfeature”to the creation section of the taxonomy in functions.php might help, but as i understand i can only do either: Using CPT UI _OR_ do the creation manually.
Can someone point me in the right direction?
Yours,Gerd
- The topic ‘Grant right to custom taxonomie, map_meta_cap’ is closed to new replies.