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_6692' );
function action_function_name_6692( $post_id ){
	// action...
Post ID.


Since DEL 2.3.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!