wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_post_update › WordPress Action Hooks

Since2.5.0
Deprecatedn/a
do_action( 'pre_post_update', $post_id, $data )
Parameters: (2)
  • () post_id Post ID.
    Required: Yes
  • () 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 );