WordPress.org

Ready to get started?Download WordPress

Forums

wp_delete_user hook, reassign missing (1 post)

  1. Eran Miller
    Member
    Posted 2 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.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic