The MU forums have moved to WordPress.org

Determine if some one is logged in (1 post)

  1. johnnytee
    Member
    Posted 15 years ago #

    I have a plugin in mu-plugns and I need to add an action if the user is logged in. I have tried is_user_logged_in() but since this is defined in pluggable.php I can't use it because it has not been defined yet.

    Should I copy the is_user_logged_in code into my plugin and define it there?

About this Topic

  • Started 15 years ago by johnnytee