do_action( 'delete_post', int $postid )

Fires immediately before a post is deleted from the database.


Parameters

$postid

Post ID.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.2.0 Introduced.