WordPress开发者和主题制作者的搜索引擎



deleted_user ›

Since2.9.0
已弃用n/a
do_action( 'deleted_user', $id, $reassign )
参数: (2)
  • (int) $id ID of the deleted user.
    Required: Yes
  • (int|null) $reassign ID of the user to reassign posts and links to. Default null, for no reassignment.
    Required: Yes
定义在:
文档:

Fires immediately after a user is deleted from the database.





源码

do_action( 'deleted_user', $id, $reassign );