WordPress at a glance
action is not described

private_to_published action-hook . WP 1.5.0

Deprecated in 2.3.0. It is no longer supported and can be removed in future releases. Use private_to_publish instead.

Deprecated: 2.3.0 Use 'private_to_publish' instead.

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


add_action( 'private_to_published', 'action_function_name_4401' );
function action_function_name_4401( $post_id ){
	// action...
Post ID.

Where the hook is called

wp-includes/post.php 6205
do_action('private_to_published', $post->ID);

Where the hook is used (in WP core)

Does not used.