WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about private_to_published

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/post.php do_action_deprecated 7605 /**
* Fires when a post's status is transitioned from private to published.
* @since 1.5.0
* @deprecated 2.3.0 Use {@see 'private_to_publish'} instead.
* @param int $post_id Post ID.

Hook Parameters

Parameter Type Name Description
int $post_id Post ID.