set_current_user

Fires after the current user is set.

Ussually we can change user id using wp_set_current_user()which will be also run do_action('set_current_user'in the end.

Last updated