Creating a new item in structure field programatically

Where can I learn how to programatically add items in structure fields ?

Thanks

There are multiple threads here all with the same example

https://forum.getkirby.com/search?q=addToStructure

Isn’t it to update an existing item ?

Let me re-read

It’s actually the same thing.

1 Like