I'm looking at the wordpress list of actions and trying to find an action that is called when a post is restored from the trash but cannot find one. Does anyone know if it exists?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
There are multiple actions. Listed in order of appearance with their parameters:
Related answer with more statuses: Execute function when post is published |
||||
|
|
I found it in wp-includes/post.php and its called |
|||
|
|
