Uma área de pesquisa sobre o WordPress para devs e autores do tema



post_updated ›

Desde3.0.0
Obsoleton/a
do_action( 'post_updated', $post_ID, $post_after, $post_before )
Parâmetros: (3)
  • (int) $post_ID Post ID.
    Required: Yes
  • (WP_Post) $post_after Post object following the update.
    Required: Yes
  • (WP_Post) $post_before Post object before the update.
    Required: Yes
Definido em:
Codex:

Fires once an existing post has been updated.





Fonte

do_action( 'post_updated', $post_ID, $post_after, $post_before );