WordPress.org

Forums

WP-Members
[resolved] redirect after login (2 posts)

  1. subhasis123
    Member
    Posted 2 years ago #

    Message are appearing as
    global $user_login;
    $logout = $url . '/?a=logout';

    $str = '<p>' . sprintf( __( 'You are logged in as %s', 'wp-members' ), $user_login ) . '
    ' . __( 'click here to logout', 'wp-members' ) . '</p>';

    $str = apply_filters( 'wpmem_sidebar_status', $str );

    echo $str;

    i want to redirect to another page.

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 2 years ago #

    Your direct question about redirection after login is to use the wpmem_login_redirect filter (see a description in the Users Guide)

    With the other code - I don't know what your question is regarding that and if that is appearing, you are doing something unconventional with the sidebar functions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic