WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. subhasis123
    Member
    Posted 1 year 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 1 year 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

About this Topic