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



wp_authenticate ›

Since1.5.1
已弃用n/a
do_action_ref_array( 'wp_authenticate', array( &$credentials['user_login'], &$credentials['user_password'] )
参数: (2)
  • (string) $user_login Username (passed by reference).
    Required: Yes
  • (string) $user_password User password (passed by reference).
    Required: Yes
定义在:
文档:

Fires before the user is authenticated.

The variables passed to the callbacks are passed by reference, and can be modified by callback functions.





源码

do_action_ref_array( 'wp_authenticate', array( &$credentials['user_login'], &$credentials['user_password'] ) );