set_current_user

set_current_user

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('set_current_user') is found 1 times:

  • /wp-includes/pluggable.php line 48
    		 * Fires after the current user is set.
    		 *
    		 * @since 2.0.1
    		 */
    		do_action( 'set_current_user' );
    
    		return $current_user;
    	}
    endif;
    
    if ( ! function_exists( 'wp_get_current_user' ) ) :
    

See this hook used in plugins: