{"id":9814,"date":"2024-04-08T12:01:18","date_gmt":"2024-04-08T10:01:18","guid":{"rendered":"https:\/\/europe.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=9814"},"modified":"2024-07-29T11:31:28","modified_gmt":"2024-07-29T09:31:28","slug":"intro-to-the-html-api-reliable-safe-and-convenient","status":"publish","type":"wcb_session","link":"https:\/\/europe.wordcamp.org\/2024\/session\/intro-to-the-html-api-reliable-safe-and-convenient\/","title":{"rendered":"Intro to the HTML API: Reliable, safe, and convenient"},"content":{"rendered":"\n<p>The HTML API in WordPress is redefining how developers create, find, and modify HTML. <\/p>\n\n\n\n<p>It eliminates the never-ending hassle of half-baked or over-complicated regex matching code while providing a safe and convenient interface. <\/p>\n\n\n\n<p>This workshop will introduce the HTML API and demonstrate how to use it in common situations. <\/p>\n\n\n\n<p>We&#8217;ll work in groups to refactor existing code and explore what the new API offers, where it&#8217;s strong, and what its limits are. <\/p>\n\n\n\n<p>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. <\/p>\n\n\n\n<p>Use of the new HTML API will categorically eliminate some of the most common security and data corruption issues within WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;ll work in groups to refactor [&hellip;]<\/p>\n","protected":false},"author":13597958,"featured_media":12146,"template":"wp-custom-template-session-single-cupid","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1718444700,"_wcpt_session_duration":3600,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/drive.google.com\/file\/d\/1c6R5M5Rm7IE0JhQqT1krJGPWQiDp5r-A\/view?usp=sharing","_wcpt_session_video":"https:\/\/wordpress.tv\/2024\/07\/15\/workshop-intro-to-the-html-api-reliable-safe-and-convenient\/","_wcpt_speaker_id":[9481],"footnotes":""},"session_track":[56],"session_category":[57],"class_list":["post-9814","wcb_session","type-wcb_session","status-publish","has-post-thumbnail","hentry","wcb_track-workshops-hall-3","wcb_session_category-development"],"jetpack_shortlink":"https:\/\/wp.me\/peP1kR-2yi","jetpack_sharing_enabled":true,"session_date_time":{"date":"June 15, 2024","time":"11:45"},"session_speakers":[{"id":"9481","slug":"dennis-snell","name":"Dennis Snell","link":"https:\/\/europe.wordcamp.org\/2024\/speaker\/dennis-snell\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9814\/revisions"}],"predecessor-version":[{"id":9840,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9814\/revisions\/9840"}],"speakers":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/9481"}],"author":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/dmsnell"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/media\/12146"}],"wp:attachment":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=9814"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=9814"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=9814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}