_future_post_hook


_future_post_hook ( $deprecated, $post )

Access:
  • private
Parameters:
  • (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().
  • (WP_Post) post Post object.
Defined at:

Description

Hook used to schedule publication for a post marked for the future.The $post properties used and must exist are 'ID' and 'post_date_gmt'.

Related Functions

_save_post_hook, _publish_post_hook, _restore_wpautop_hook, wp_filter_post_kses, wp_set_post_lock

Top Google Results

User discussions

wpseek mobile