Updating fields with PHP functions?
-
Hello,
Currently considering switching from ACF to Carbon Fields – I’m liking the plugin a lot so far.
One question. ACF has an update_field function that allows for a post meta field to be quickly updated from anywhere in your theme/plugin. Looking through the Carbon Fields plugin, I don’t seem to find any equivalent – though my PHP skills are still quite amateur, so it’s possible I overlooked something obvious. What would be the best way of approaching my problem?
For reference, I’m attempting to port over a project from ACF which involved generating a unique key from Gravity Forms and saving it as post meta information. The field is a simple number field, but the data needs to come from Gravity Forms and not the user, so having the fields editable via WordPress Post Editor isn’t too helpful.
Thanks again! I hope to contribute once my programming skills are not quite as pitiable as they are at present.
Mario
- The topic ‘Updating fields with PHP functions?’ is closed to new replies.