[wp-hackers] delete_attachment hook firing too soon to be useful
Alex Dunae
alex at dunae.ca
Tue Jan 20 06:07:00 GMT 2009
In wp_delete_attachment, the delete_attachment action is fired once
all the useful info in the DB is already gone.
I need to be able to figure out the parent of an attachment as it's
being delete to update a playlist file. Is there any other way, or
should this become a Trac feature request?
FWIW, I'm not the first to be stumped: http://wordpress.org/support/topic/226773
Alex
More information about the wp-hackers
mailing list