插件块模板注册API

  • New Plugin Template Registration API in WordPress 6.7

    Since the introduction of block themes, theme developers have been able to create custom block templates. However, this possibility is limited to themes and plugins cannot register their own templates directly. In order to achieve similar functionality, plugins had to resort to complex methods including hooking up multiple PHP filters, manually creating WP_Block_Template objects, and copying internal WordPress logic. WordPress 6.7 introduces a new API that will greatly simplify the process of plugins registering their own block templates. For ...

    2 days ago - WordPress Information
    0016

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service