[wp-hackers] delete_user action hook
Austin Matzko
if.website at gmail.com
Thu Jun 1 05:53:56 GMT 2006
The delete_user action hook fires off right *after* the user has been
deleted from the users and usermeta tables.
Wouldn't it make more sense to fire it off before the actual deletion?
That way you could retrieve usermeta values and decide whether to
perform some other action, such as deleting a record from a custom
table.
Actually, that's what the delete_post action hook does now: it fires
off before the actual deletion. Why not do the same for delete_user?
More information about the wp-hackers
mailing list