Support

Account

Home Forums General Issues Query posts by fields on related post Reply To: Query posts by fields on related post

  • There is not mechanism in WP that will allow you to query posts based on the meta values of a related post. To query posts all values must be associated with the posts you want to query.

    This means that you need to
    – create an acf/save_post hook that
    – gets the relationship field
    – gets the values for the fields on the related post
    – saves those values to the post currently being saved