Site icon Hip-Hop Website Design and Development

Filter custom post type admin list by custom meta column, where the column is another custom posts meta value

I have 3 custom post types, which are related to each other. Projects, Positions and Feedbacks. 1 Project has many Positions and 1 Position has many Feedbacks.

Relations are defined with meta values. Feedbacks post has a meta value, where the value points to position post id, and Positions post has a meta value, where the value points to project post id.

I want to create a custom filter in Feedback admin list, where rows are filtered by project.

It would be nice to do it with a ‘parse_query’ filter, since I already have some filters attached to it.

How to achieve this?