I would like to collect main info about post like Title etc. in moment when post was written and it's going to be published and perform some actions on this data. What's the hook for that?
Thanks!
|
|
|
The function is These functions are fired when a post is saved, not only when it is published. For the publish action, look at
|
|||
|
|
|
Also check here: WordPress prompt checklist before publish? "WordPress prompt checklist before publish?" |
|||
|
|