A WordPress-centric search engine for devs and theme authors



save_post ›

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

Fires once a post has been saved.





Source

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