最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

api - Get origin or context of a how a post got created andor updated

programmeradmin2浏览0评论

Is there an easy way to get the context of how a post (as well as custom post types) got created and/or updated? There are two paths I can think of:

  • Via the admin dashboard
  • Via the REST API

Is there a way I can find out whether it was via the admin dashboard, the API, or some other path?

I know there is the the get_current_screen() method, but I'm not sure if that is a good place to start or not.

发布评论

评论列表(0)

  1. 暂无评论