migration – How to generate WordPress core blocks markup programmatically?

Question

I am migrating a site’s content to a newer WordPress-based site and I am able to parse the content to an array-like structure where I have HTML element info, related attributes, and data.

Now, I want to convert this information to WordPress block markup. So that I can import it as post content and later on site editor can edit the content using block editor. Any information that can help me achieve that will be appreciated. Thanks

0
Saqib 9 months 2022-09-05T06:02:56-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse