do_action( 'before_delete_post', int $postid )

Fires before a post is deleted, at the start of wp_delete_post().


Description

See also


Parameters

$postid

Post ID.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.2.0 Introduced.