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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745317633a4622289.html
评论列表(0条)