Fires when a post’s status is transitioned from private to published.
$post_idint
do_action_deprecated( 'private_to_published', array( $post->ID ), '2.3.0', 'private_to_publish' );
| Version | Description |
|---|---|
| 2.3.0 | Use 'private_to_publish' instead. |
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/private_to_published