How can I get who approved post for publishing, in single.php?
-
This seems like a rather basic thing that any site with multiple editors would need, but I can’t find it anywhere, in codex or via plugins.
In my single.php code, I need to get the user id of the user that approved the post – ie: changed it from ‘pending’ to ‘publish’.
As the admin, I need to know who to hold responsible for that action, and I want to credit them a percentage of the adshare, and perhaps even have an ‘approved by’ under the article.
I don’t need to have who last revised the post, because either I or the author might update it again later. I need the user that actually published it.
Does anyone know how I get that?
Thanks,
Chris
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How can I get who approved post for publishing, in single.php?’ is closed to new replies.