Title: Hook for privately published posts?
Last modified: August 21, 2016

---

# Hook for privately published posts?

 *  [juhkob](https://wordpress.org/support/users/juhkob/)
 * (@juhkob)
 * [12 years ago](https://wordpress.org/support/topic/hook-for-privately-published-posts/)
 * I have a private post that is scheduled to be published later on. I would like
   to detect when it is eventually published using a plugin, but I can’t seem to
   find a hook that works.
 * publish_future_post doesn’t work
    future_to_private doesn’t work publish_post
   doesn’t work
 * Is there a hook like this that exists?

Viewing 1 replies (of 1 total)

 *  [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * (@timothyblynjacobs)
 * [12 years ago](https://wordpress.org/support/topic/hook-for-privately-published-posts/#post-4852273)
 * Why not `private_to_publish`?
 * [http://codex.wordpress.org/Post_Status_Transitions](http://codex.wordpress.org/Post_Status_Transitions)

Viewing 1 replies (of 1 total)

The topic ‘Hook for privately published posts?’ is closed to new replies.

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [private](https://wordpress.org/support/topic-tag/private/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/hook-for-privately-published-posts/#post-4852273)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
