admin管理员组文章数量:1425675
I have a number of meta boxes added to a site I'm building, and would like to have their data saved via the REST API rather than have the post save "twice" in Gutenberg (once via REST for the basics, then via POST for the meta boxes).
I can't really convert these to "meta blocks" for various reasons, and I don't want them buried in a plugin panel. Besides they're built in PHP already and it'll take too long to recreate them as React panels.
Is it possible to register these meta boxes as REST compatible or otherwise hook into the action that makes the REST request so I can add my data there (after registering REST support).
本文标签: metaboxHow to have meta boxes save via REST in Gutenberg
版权声明:本文标题:metabox - How to have meta boxes save via REST in Gutenberg? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745403859a2657159.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论