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



save_post › WordPress Action Hooks

Since1.5.0
Deprecatedn/a
do_action( 'save_post', $post_id, $post, $update )
Parameters: (3)
  • () post_id Post ID.
    Required: Yes
  • () post Post object.
    Required: Yes
  • () update Whether this is an existing post being updated.
    Required: Yes
Defined at:
Codex:

Fires once a post has been saved.





Source

do_action( 'save_post', $post_id, $post, $update );