A WordPress-centric search engine for devs and theme authors



post_updated ›

Since3.0.0
Deprecatedn/a
do_action( 'post_updated', $post_ID, $post_after, $post_before )
Parameters: (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
Defined at:
Codex:

Fires once an existing post has been updated.





Source

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