do_action( 'deleted_post', int $postid )

Fires immediately after 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-2.2.0 Introduced.