Intro to the HTML API: Reliable, safe, and convenient [EN]

The HTML API in WordPress is redefining how developers create, find, and modify HTML. It eliminates the never-ending hassle of half-baked or over-complicated regex matching code while providing a safe and convenient interface.

This workshop will introduce the HTML API and demonstrate how to use it in common situations. We’ll work in groups to refactor existing code and explore what the new API offers, where it’s strong, and what its limits are.

The content in this workshop is relevant to anyone working with HTML, whether in block code, site editing code, plugins, theme development, or WordPress itself. Use of the new HTML API will categorically eliminate some of the most common security and data corruption issues within WordPress.

Speaker