wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



transition_post_status › WordPress Action Hooks

Seit2.3.0
Veraltetn/v
do_action( 'transition_post_status', $new_status, $old_status, $post )
Parameter: (3)
  • () new_status New post status.
    Erforderlich: Ja
  • () old_status Old post status.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
Definiert in:
Codex:

Fires when a post is transitioned from one status to another.





Quellcode

do_action( 'transition_post_status', $new_status, $old_status, $post );