post_predelete

Triggered immediately before deletion of one or several posts.

Blog

Input (passed by reference)

$params array Array of IDs of posts being deleted.
… your plugin code …

Output

Blog

Plugin code example

PHP

public function postPredelete($params)
{
    waLog::log(print_r($params, true), 'blog/myplugin/post-predelete.log');
}