admin管理员组文章数量:1126166
I registered a taxonomy with a certain key name, initial_name
, and now there are hundreds of posts in a custom post type with this taxonomy selected that I don't want to lose the connection with (the taxonomy is selected through ACF in each of those posts)
register_taxonomy('initial_name', 'post', args);
How would I update the existing posts and future posts with a new name? new_name
, like below
register_taxonomy('new_name', 'post', args);
本文标签: Change taxonomy key of existing and future taxonomy posts
版权声明:本文标题:Change taxonomy key of existing and future taxonomy posts 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736661277a1946428.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论