do_action( 'before_delete_post', int $postid )

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

Description Description

See also See also

Top ↑

Parameters Parameters


(int) Post ID.

Top ↑

Source Source

File: wp-includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.