wp_delete_user hook, reassign missing
-
wp_delete_user contains a delete_user action:
do_action(‘delete_user’, $id);It would be helpful if $reassign was passed along with $id.
I am currently employing the delete_user hook to delete values from a custom table when a specific user_id is deleted. I would like to be able to also have the option of updating rows in my custom table with the $reassigned id on user deletion.
Thanks!
- The topic ‘wp_delete_user hook, reassign missing’ is closed to new replies.