A WordPress-centric search engine for devs and theme authors



pre_post_update ›

Since2.5.0
Deprecatedn/a
do_action( 'pre_post_update', $post_ID, $data )
Parameters: (2)
  • (int) $post_ID Post ID.
    Required: Yes
  • (array) $data Array of unslashed post data.
    Required: Yes
Defined at:
Codex:

Fires immediately before an existing post is updated in the database.





Source

do_action( 'pre_post_update', $post_ID, $data );