Hi Everyone. 🙂
Iam in the process of creating my first own field and i need to know on how or where the actual values (fe. the text in my input) get saved to the db?
I downloaded the kit and i see the functions for create the field, update the field etc. but i did not know how or where the values get saved.
Any help would be great. 🙂
Thanks a lot.
Mike
Hi @Michael1981
ACF will handle all the value save and load functionality, you can use the update_field filter to modify the value before save, but you don’t need to actually write any code to save it!
Just make sure that in your create_field code, you use the $field['name']
as the name
attribute of your text field. ACF will do the rest.
Cheers
E