A WordPress-centric search engine for devs and theme authors



private_to_published ›

Since1.5.0
Deprecated
do_action( 'private_to_published', $post->ID )
Parameters:
  • (int) $post_id Post ID.
    Required: Yes
Defined at:
Codex:

Fires when a post's status is transitioned from private to published.





Source

do_action( 'private_to_published', $post->ID );