This database has information for all major versions from WP 1.2.1 through 4.4.
|5.5||wp-includes/post.php||5790||View in context||filter|
|5.6||wp-includes/post.php||5915||View in context||filter|
|5.7||wp-includes/post.php||6029||View in context||filter|
This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.
We find related hooks using word stems. pre_delete_attachment has 2 significant word stem(s):
attachment. Note that some of the hooks below may not appear in all versions of WP.