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.
wp_set_current_user()
do_action('set_current_user'
Last updated 1 year ago