admin管理员组文章数量:1310160
We are in the process of migrating over a decade of content on hundreds of sites to the Gutenberg block editor. We had been using lots of custom shortcodes and are developing blocks to replace them.
I would love to perform additional find/replace kind of stuff to convert our old shortcodes to our new block markup when someone click "Convert to Blocks".
For example, I would like "Convert to Blocks" to look for things like [my_custom_shortcode] and replace it with the appropriate custom block markup.
Does WordPress provide any filters or options for adding my own conversion functions to part of the "Convert to Blocks" functionality? or any other ideas to tie into this?
本文标签: Extend the quotConvert to Blocksquot feature to add additional functionality
版权声明:本文标题:Extend the "Convert to Blocks" feature to add additional functionality 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741832961a2400044.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论