New Plugin Template Registration API in WordPress 6.7

Since the introduction of block themes, theme authors have been able to create custom block templates. However, this possibility was limited to themes, leaving plugins without a straightforward way to register their own templates. To achieve similar functionality, plugins had to resort to complex methods, including hooking into multiple PHP filters, manually creating WP_Block_Template objects, … Continue reading New Plugin Template Registration API in WordPress 6.7