admin-columns
admin-columns copied to clipboard
Support for 1:N inverse association (relation)
Hello,
first, let me say thank you for the great job you do with this WP module!
Second. When we want to make associations between posts in WP most time it is done by creating a post meta field.
Eg: Post types: List
and ListItem
To make association 1:N we can add meta list_id
to ListItem
post.
With AdminColumns we can display column for custom meta with Post Relation type.
But what if I want to display ListItems
for List
on List
page or just simple count them with link to predefined filter to ListItem
post type page?
Is it able to somehow do that with AdminColumns?
I don't want to add any extra post meta to List
type, because it is redundant.
Thank you.