[wp-hackers] Category Hooks
paul at codehooligans.com
Fri Aug 14 22:15:47 UTC 2009
I just pulled up a client project site running 2.8.3. If you look at
wp-admin/edit-category-form.php line 79
you should see the line
I would call this a 'hook' that allows you to add extra fields like an
image upload field or something else. Or corse then you would also
need to find the hook for when the category is saved which would need
to write your field somewhere.
Seems simple enough unless I've misunderstood your request.
On Aug 14, 2009, at 5:05 PM, Carl Hancock wrote:
> Jane Wells suggested I submit this to the hacker list. I was
> about the possibility of hooks being added to the category editor to
> you to add new fields to the categories via a plugin.
> This would enable you to add custom fields, similar to custom write
> on posts, to the category editor. One example of usage would be to
> you to associate an image with a category so you could have a category
> template that lists categories as images. Would be handy for
> theming. It
> actually could open up a variety of uses.
> Right now with no hooks available to add additional information to
> the edit
> category page we have been able to accomplish this but it was via a
> secondary editor and not integrated within the existing category
> editor. So
> it isn't seamless.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers