How to know which editor published a post programmatically?
As far as I know, WordPress only stores original authors of the posts. If you want to also save the publisher’s ID, you need to do a bit of custom coding, or use some 3rd party plugin. Essentially what you need to do is to store the user ID whenever the post status is being … Read more