_transition_post_status


_transition_post_status ( $new_status, $old_status, $post )

Access:
  • private
Parameters:
  • (string) $new_status New post status.
  • (string) $old_status Previous post status.
  • (WP_Post) $post Post object.
See:
Defined at:

Description

Hook for managing future post transitions to published.

Related Functions

wp_transition_post_status, wp_transition_comment_status, register_post_status, _update_term_count_on_transition_post_status, get_post_status

Top Google Results

User discussions

wpseek mobile