Support

Account

Home Forums ACF PRO acf/update_value/key= vs acf/update_value/type= Reply To: acf/update_value/key= vs acf/update_value/type=

  • Hi @hereswhatidid

    That sounds like a bug to me. The key and name parameters should also return the full array rather than the actual value saved on the repeater field in the DB (the repeater fields saved value IS just the number of rows).

    I’ll assign @elliot to this and we’ll see what he says 🙂

    In the meantime you could use the type parameter and immediately do a check of the field name and just hit return $field; if it’s not correct.

    Something like

    
    
    if($field['name'] != 'blah')
    	return $field;