Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @antcrescendo

    This requires customization on your end. You can try adding this code snippet to your theme’s function.php file or use Code Snippets plugin to run this code:

    <?php 
    function um_033021_logout_user_links( $args ) {
    	?>
    
    	<li>
    		<a href="<?php echo esc_url( add_query_arg( 'redirect_to', UM()->permalinks()->get_current_url( true ), um_get_core_page( 'logout' ) ) ); ?>">
    			<?php _e( 'Logout', 'ultimate-member' ); ?>
    		</a>
    	</li>
    
    	<?php
    }
    
    remove_action( 'um_logout_user_links', 'um_logout_user_links', 100 );
    add_action( 'um_logout_user_links', 'um_033021_logout_user_links', 100 );
    ?>
    

    Regards,

    Thread Starter antcrescendo

    (@antcrescendo)

    Hello @champsupertramp, I would like to know how to edit the link of my “forgot your password” to redirect to the correct language. When I am on my login page using my second language and click on the forget password link, it redirects me to my default password reset page instead of my second language. How can I resolve this problem?

    Thanks,`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Remove “your account” button’ is closed to new replies.