[wp-hackers] Limiting ability to add terms to taxonomies

Dion Hulse (dd32) wordpress at dd32.id.au
Wed Dec 15 06:17:34 UTC 2010


You'd be better off removing the permission which allows the current user
from editing the terms.
You can set a permission to be required to assign terms to a object, manage
them, delete them, and edit them.
See this code reference for it:
http://core.trac.wordpress.org/browser/trunk/wp-includes/taxonomy.php#L345

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 that
> need to have their meta boxes unset? (For example, query all custom
> taxonomies with show_ui=true and hierarchical=false)
>
> Will
>
>
>
>
> 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?
>>
>> -Mike
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list