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. See private_to_publish.

Deprecated: 2.3.0 Use {@see '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_7604', 10, 3 );
function action_function_name_7604( $post_id, $string, $string ){
	// action...
}
$post_id(int)
Post ID.
$string
-
$string
-

Changelog

Since DEL 2.3.0 Introduced.

Where the hook is called

_transition_post_status()
private_to_published
wp-includes/post.php 6788
do_action_deprecated( 'private_to_published', array( $post->ID ), '2.3.0', 'private_to_publish' );

Where in WP core the hook is used

Usage not found!