Support

Account

Home Forums ACF PRO Filtering by relationship field in pre_get_posts on post archive page Reply To: Filtering by relationship field in pre_get_posts on post archive page

  • meta query allows nested queries, do something like

    
    $meta_query = array(
      array(
        array(
          // actual query here
        )
      )
    )
    

    will work, however, this can cause the query to run slower and you’re better off without the extra nesting if you don’t need it.