标签: wordpress callback taxonomy taxonomy-terms
我有一个回调'cities_meta_box',它是一个下拉列表。
ls
发生的事情是,每次我保存帖子时,它都会创建一个新术语,称为选定术语ID。屏幕截图示例:
The term name is 'Skopje' with id of 20
当我保存帖子时,将在上一个帖子的ID之后创建一个新术语:
note the the name is 20, which is the ID of the 'Skopje' taxonomy term