do_action( 'wp_insert_post', int $post_id , WP_Post $post , bool $update )
Fires once a post has been saved.
Parameters
- $post_id
-
Post ID.
- $post
-
Post object.
- $update
-
Whether this is an existing post being updated.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |