All Topics
How to display a specific post type’s posts in the inline/bulk edit field
I’ve added a column to the Product Variations post type, for a custom field I have on my variations.
I’ve got the column set as a custom field, and the field type set as ‘Post’. This works great for being able to display the name of the post in that column (based on the selected post ID that’s set in that field), but when using inline edit and bulk edit the list of posts to choose from are posts from every possible post type (rather than a specific post type that I’d like to be able to choose from).
Is there a hook/filter I can use to modify the post type that’s queried for the edit/bulk edit dropdown on this column?
Thanks,
Matt
You must be logged in to reply to this topic.