最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Is it possible to bulk migrate all deprecated instances of a gutenberg block?

programmeradmin0浏览0评论

I wrote a plugin which defines a gutenberg block. After using this block in posts, I've changed its definition inside my plugin, so now I have a "deprecated" entry in the block configuration containing "migrate" function. I can open and save each post containing this block and the migration is applied.

Is it possible to do this for all posts automatically? If yes then how? (in order to get rid of the "deprecated" code in block configuration)

发布评论

评论列表(0)

  1. 暂无评论