wp_delete_user hook, reassign missing (1 post)

  1. Eran Miller
    Posted 4 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic