WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] Check if User Panel is current page (3 posts)

  1. Henry
    Member
    Posted 1 year ago #

    I am using the following to check when the current page is the login page

    Theme_My_Login::is_tml_page( 'login' )

    How can I check when the current page is the User Panel page?

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    The "user panel page" is also the Login page. Only difference is, the user is logged in. So:

    Theme_My_Login::is_tml_page( 'login' ) && is_user_logged_in()

  3. Henry
    Member
    Posted 1 year ago #

    Thanks, worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic