Support

Account

Home Forums Backend Issues (wp-admin) Relationship field with filter for custom field Reply To: Relationship field with filter for custom field

  • Okay, I figured it out.

    It was just applying the filter to all of my select lists. I updated the add_filter to:
    add_filter(‘acf/fields/relationship/query/name=playwrights’, ‘playwright_query’, 10, 3);

    Now it does exactly what I needed it to do!

    Thanks