delete_user

最后更新于:2021-11-26 06:39:19

do_action( ‘delete_user’, int $id, int|null $reassign, GC_User $user )

Fires immediately before a user is deleted from the database.

参数

$id

(int)
ID of the user to delete.

$reassign

(int|null)
ID of the user to reassign posts and links to. Default null, for no reassignment.

$user

(GC_User)
GC_User object of the user to delete.

源文件

文件: gc-admin/includes/user.php

View on Trac