Core Function
View Source on Trac ↗ _future_post_hook()
_future_post_hook( mixed $deprecated, mixed $post ) Hook used to schedule publication for a post marked for the future.
Parameters 2 required
| Name / Type | Description |
|---|---|
| int | $deprecated Not used. Can be set to null. Never implemented. Not marked as deprecated with _deprecated_argument() as it conflicts with wp_transition_post_status() and the default filter for _future_post_hook(). Required |
| $post WP_Post | Post object. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.3.0
Source File
wp-includes/post.php
Advertisement