Fires when a post’s status is transitioned from private to published.
Parameters
- .
- ( 1.5.0 ) . .
- Use
- ( 2.3.0 ) ‘private_to_publish’ instead. . . .
- $post_id
- ( int ) Post ID. . . .
Hook name: private_to_published
Hook type: action
Sourcefile:
Description: Fires when a post’s status is transitioned from private to published.
Parameters:
Deprecated?: No