Hi, i think in wordpress are Tags normaly "strings" why i should put a slice of ints to the tags when i create a post? Tags []int `json:"tags,omitempty"` How does it work? I want to tag my post with "apple, banana, test" and so on.
Hi,
i think in wordpress are Tags normaly "strings" why i should put a slice of ints to the tags when i create a post?
Tags []int
json:"tags,omitempty"How does it work?
I want to tag my post with "apple, banana, test" and so on.