I'm building a Wordpress Plugin and it has two tables and some data. Right now, for displaying and changing the data, I'm using the wpdb function and manually creating the user interface (mimicking the Default one).
However, I see that other plugins have a more consistent style with their tables and the same features (like the bulk button). I'm getting suspicious about Wordpress Taxonomies. I read, but so far, taxonomies seems to be related to posts in a way or the other.
My data doesn't relate to posts, it's completely independent. Can I still use Wordpress Taxonomies? Can the taxonomy help me build a consistent interface?
wp_term_relationships
has anobject_id
field instead of apost_id
field. Think users, comments, meta, even taxonomy terms themselves. So yes I think someone could use a taxonomy for their own custom tables. OTOH, I'm suspicious whenever someone creates a new table. From what I've seen 9 times out of 10 time they could have used a built-in table with less hassle.