Hi @keraweb,
It does require more fields which I just ignored to put here because they are all my custom fields such as ‘phone’, ‘address’, and etc.
Those fields are manually created via Pods Admin UI.
I can see the manually created pod item in the UI has
pandarf_parent_pod_id
pandarf_parent_post_id
pandarf_pod_field_id
with proper values such as 199, 282, 221.
The ones created using pods()->add() all have “0” in those fields. They do appear in the UI when I manually add values in
pandarf_parent_pod_id
pandarf_parent_post_id
pandarf_pod_field_id
I wonder if I missed some steps before of after pods()->add()?
The method I found is from here:
https://pods.io/docs/code/pods/add/
-
This reply was modified 3 years, 8 months ago by
unicornboat.
-
This reply was modified 3 years, 8 months ago by
unicornboat.
-
This reply was modified 3 years, 8 months ago by
unicornboat.
-
This reply was modified 3 years, 8 months ago by
unicornboat.