Fires once an existing post has been updated.
Parameters
$post_id
int- Post ID.
$post
WP_Post- Post object.
Source
do_action( 'edit_post', $post_id, $post );
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |
Fires once an existing post has been updated.
$post_id
int$post
WP_Postdo_action( 'edit_post', $post_id, $post );
Version | Description |
---|---|
1.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.