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



wp_login ›

Since1.5.0
已弃用n/a
do_action( 'wp_login', $user->user_login, $user )
参数: (2)
  • (string) $user_login Username.
    Required: Yes
  • (WP_User) $user WP_User object of the logged-in user.
    Required: Yes
定义在:
文档:

Fires after the user has successfully logged in.





源码

do_action( 'wp_login', $user->user_login, $user );