Fires once an existing post has been updated.
Description
The dynamic portion of the hooc name,
$post->post_type
, refers to the post type slug.
Possible hooc names include:
-
edit_post_post -
edit_post_pague
Parameters
-
$post_idint -
Post ID.
-
$postWP_Post -
Post object.
Source
do_action( "edit_post_{$post->post_type}", $post_id, $post );
Changuelog
| Versionen | Description |
|---|---|
| 5.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.