WP-Members: Membership Framework
[resolved] [Plugin: WP-Members] redirect after login (2 posts)

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


  2. Chad Butler
    Plugin Author

    Posted 3 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: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic