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



added_existing_user ›

SinceMU (3.0.0)
已弃用n/a
do_action( 'added_existing_user', $details['user_id'], $result )
参数: (2)
  • (int) $user_id User ID.
    Required: Yes
  • (mixed) $result True on success or a WP_Error object if the user doesn't exist or could not be added.
    Required: Yes
定义在:
文档:

Fires immediately after an existing user is added to a site.





源码

do_action( 'added_existing_user', $details['user_id'], $result );