do_action( 'pre_post_update', int $post_ID, array $data )

Fires immediately before an existing post is updated in the database.


Description


Parameters

$post_ID

(int) Post ID.

$data

(array) Array of unslashed post data.


Top ↑

Source

File: wp-includes/post.php

View on Trac


Top ↑

Changelog

Version Description
2.5.0 Introduced.