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.

Usage

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

Changelog

Since DEL 2.3.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!