Logout Issue

Home Forums Legacy Support 4.0 Bugs & Issues Logout Issue

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #277599
    adnanhmd
    Participant
    Hi Team Once logout the page is not getting redirect to the home page.
    #277600
    adnanhmd
    Participant
    This reply has been marked as private.
    #277693
    Diana
    Participant
    But we don't have any setting for that to redirect users after logout. So, first check your wplms customizer plugin you can add the code below to set the redirection page after logout Please paste this snippet in your wp-admin - plugins - editor - select wplms customizer plugin - wplms-customizer.php add_action('wp_logout','custom_page_redirect_logout'); function custom_page_redirect_logout(){ wp_redirect( 'https://www.google.com' ); exit(); } change your URL in above code to your site URL instead of google URL.
    #277905
    adnanhmd
    Participant
    This reply has been marked as private.
    #277906
    adnanhmd
    Participant
    This reply has been marked as private.
    #278146
    Diana
    Participant
    I am sorry the above code will not work in this case. I am adding this to the bug list To redirect users to site URL after logout Track here: https://trello.com/c/ZKju0EUj/
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Logout Issue’ is closed to new replies.