WordPress at Your Fingertips
action is not described

private_to_published action-hook . WP 1.5.0

Deprecated from version 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.


add_action( 'private_to_published', 'action_function_name_7526', 10, 2 );
function action_function_name_7526( $post_id, $string ){
	// action...
Post ID.


Deprecated Since 2.3.0 Use {@see 'private_to_publish'} instead.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.