[wp-hackers] Limiting ability to add terms to taxonomies
will.davis at gmail.com
Wed Dec 15 12:36:51 UTC 2010
Well, I want them to still be able to add terms, just have to go
through the submenu in order to do so. Removing permissions for a user
based on what page they're on seems a little inelegant.
On Dec 15, 2010, at 1:17 AM, Dion Hulse (dd32) wrote:
> You'd be better off removing the permission which allows the current
> from editing the terms.
> You can set a permission to be required to assign terms to a object,
> them, delete them, and edit them.
> See this code reference for it:
> On 15 December 2010 16:53, William Davis <will.davis at gmail.com> wrote:
>> Thanks for your response. Is there a way to find all the taxonomies
>> need to have their meta boxes unset? (For example, query all custom
>> taxonomies with show_ui=true and hierarchical=false)
>> On Dec 15, 2010, at 12:43 AM, Mike Schinkel wrote:
>> On Dec 14, 2010, at 10:43 PM, William Davis wrote:
>>>> My question is, is there an easy way to get an array of all the
>>>> taxonomies that have meta boxes and unset those meta boxes?
>>> Use the "add_meta_boxes" hook with a high priority (100?) and
>>> modify the
>>> global $wp_meta_boxes array?
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers