1
New WordPress Developer APIs
The HTML API
Jonathan Bossenger
Learn.WordPress.org
2
👋🏽 Welcome!
As you join, let everyone know in the chat where you’re
joining us from, and feel free to share a little about what
you do with WordPress.
Hello!
○ My name is Jonathan Bossenger
○ From Cape Town, South Africa
○ Developer educator at Automattic
○ Sponsored to work with the Training Team
○ jonathanbossenger.com
Learn.WordPress.org
The HTML API
Jonathan Bossenger
Announcements
○ Welcome.
○ Please let me know if you can’t see this slide!
○ We are presenting in focus mode, but please feel free to enable your video.
○ You are welcome to ask questions.
○ You are welcome to post questions in the chat, or unmute to ask questions.
Announcements
○ If I am going too fast, please let me know!
○ We are recording this session and will be posting it to https://wordpress.tv/ afterwards.
○ https://learn.wordpress.org/ - WordPress learning resources
○ https://developer.wordpress.org/news/ - WordPress developer news
What we will be looking into today
○ The new HTML API
• What is the problem it’s trying to solve
• Alternative solutions
• How to use the HTML API
• Further reading
Requirements
○ A local WordPress installation
○ A text editor
○ The test custom image plugin
• https://github.com/jonathanbossenger/wp-learn-custom-
image/releases/download/0.0.2/wp-learn-custom-image.0.0.2.zip
Let’s go!
Resources
○ https://developer.wordpress.org/news/2023/09/the-html-api-process-your-tags-not-your-pain/
○ https://developer.wordpress.org/reference/classes/wp_html_tag_processor/
○ https://make.wordpress.org/core/2023/03/07/introducing-the-html-api-in-wordpress-6-2/
○ https://make.wordpress.org/core/2023/10/21/updates-to-the-html-api-in-6-4/
○ https://wordpress.tv/2023/08/31/developer-hours-introduction-to-the-html-api/

The WordPress HTML API