• I have a problem getting the current user name into my class constructor while devevoping a plugin. It seems that the varialbe for the user name is not set when the plugin is loaded.

    Have tried different techniques to delay the instantiation of the object in the plugin. But with no succes..

  • The topic ‘How to import $current_user->user_login; into plugin code?’ is closed to new replies.