metabox - How to have meta boxes save via REST in Gutenberg?

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 AP

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).

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745403859a4626223.html

相关推荐

  • metabox - How to have meta boxes save via REST in Gutenberg?

    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 AP

    10小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信