• Hello.

    I want to make a plugin where I need logged user information.

    I managed through the following method but the problem is that the pluggable.php file was removed from WordPress MU

    require (ABSPATH . WPINC . '/pluggable.php');
    global $current_user;
    get_currentuserinfo();
    
    $current_user->user_login

    How i can get user_login in WordPress MU with a plugin ?

    Thanks.

  • The topic ‘Current_user in WordPress MU’ is closed to new replies.