[wp-hackers] Idea: Widgets as custom post types

scribu scribu at gmail.com
Tue Mar 2 20:07:09 UTC 2010


Currently, each widget type has a an associated row in the wp_options table,
where all instances of itself are stored.

Taking example from the nav menus in WP 3.0, why not store each widget in
the wp_posts table, with a post_type of 'widget' ?

Discuss.


-- 
http://scribu.net


More information about the wp-hackers mailing list