[wp-hackers] wp_get_attachment_url() checking for attachment post_type, really necessary?

scribu mail at scribu.net
Fri Nov 12 14:56:13 UTC 2010


On Fri, Nov 12, 2010 at 4:36 PM, Leo germani <leogermani at gmail.com> wrote:

> Ok. This is how it worked so far.
>
> But I think we can think of a new way to llok at it. We have now the
> possibility to create new post types, we could have new 'attachment post
> types'. For instance: 'portfolio image' and 'clipping'.
>
> This could be an option in register_post_type().
>
> Dont you think it would be usefull?
>

I don't see the need for new attachment types. Taxonomies for attachments on
the other hand, sure.


More information about the wp-hackers mailing list