custom field – posts
I am using the Favorite Posts plugin and the favorites are stored as meta data on the users.
I am displaying the custom field “simplefavorites” as a post type in admin columns. This works well except for the fact that the list of favorited posts repeats twice in the admin column. The way the data is stored causes the posts to repeat. For example, the comma separated list of values looks like this for one user:
1, 6732, 7076, 13541, 15494, 13584, 1, 1, Default List, 6732, 7076, 13541, 15494, 13584
The actual post IDs are these – 6732, 7076, 13541, 15494, 13584
Is there a way to add a filter for a particular admin column to filter what is output by your plugin?
I would like to be able to parse this field prior to admin columns doing it’s thing with the post ids.
Any help would be appreciated.
You must be logged in to reply to this topic.