wpseek.com
A WordPress-centric search engine for devs and theme authors



auth_redirect › WordPress Action Hooks

Since2.8.0
Deprecatedn/a
do_action( 'auth_redirect', $user_id )
Parameters:
  • (int) $user_id User ID.
    Required: Yes
Defined at:
Codex:

Fires before the authentication redirect.





Source

do_action( 'auth_redirect', $user_id );