• Hello, I’m studying plugin development and would like to convert a lot of html content to gutenberg editor blocks. I couldn’t find any php function that accomplishes this task in the code reference. This plugin will run on a wordpress multisite install.

Viewing 1 replies (of 1 total)
  • Unfortunately, there is no core-provided PHP function for this.
    Core provides a reasonable JS-based implementation in the “Convert to Blocks” tool for Classic Editor Blocks, but nothing available server-side.

Viewing 1 replies (of 1 total)

The topic ‘Convert HTML content to blocks in php’ is closed to new replies.