Support

Account

Home Forums Add-ons Options Page Dynamically populate a select subfield in a repeater field Reply To: Dynamically populate a select subfield in a repeater field

  • Hi @Tim Triplett

    The issue here is most likely that your filter is not running. Have you added some debug code to your function to make sure it is running?

    Perhaps also try using the sub field’s key instead of it’s name when adding the function to the filter like so:

    
    add_filter(‘acf/load_field/key=field_123’, ‘my_acf_load_field’);
    

    Please note, the filter should use the name or key of the SUB FIELD, not the repeater field.

    Thanks
    E