Action hook 'edit_post'

in WP Core File wp-includes/post.php at line 4847

Description

Fires once an existing post has been updated.

Occurrences

Filename Line Number
wp-includes/post.php 4847
wp-includes/post.php 5059
wp-includes/class-wp-customize-manager.php 3112
wp-includes/comment.php 2774

Parameters

Type Name Description
int $post_id Post ID.
WP_Post $post Post object.

PHP Doc

/**
		 * Fires once an existing post has been updated.
		 *
		 * @since 1.2.0
		 *
		 * @param int     $post_id Post ID.
		 * @param WP_Post $post    Post object.
		 */