Support

Account

Home Forums Backend Issues (wp-admin) Relationship field: hide empty terms….. Reply To: Relationship field: hide empty terms…..

  • ACF does not have any filters for alter the taxonomy/term list shown in a relatiohship field.

    You would have to use a pre_get_terms filter

    To apply this filter to only the field being displayed your would use the acf/render_field action and you would have 2 actions, one that happens before acf renders the field to add your filter and one after acf renders the field to remove your filter.