Support

Account

Home Forums Feature Requests Restrict Relationship Fields Choices to Current User Reply To: Restrict Relationship Fields Choices to Current User

  • use “name” instead of “key” like this
    add_filter(‘acf/fields/relationship/query/name=<field_key>’, ‘my_relationship_query’, 10, 3);