CHANGE LOGGED IN PAGE URL
-
Hi,
I have a private section for customers in my web page. If they go to home (exit of their private area) and they are not logged out, when customers come back to their private area, this is the page that appears and I would like to modify:
In the past, you gave me this code:
add_action( ‘wp_head’, ‘remove_logout_user_links’ );
function remove_logout_user_links(){
remove_action(‘um_logout_user_links’, ‘um_logout_user_links’, 100 );
add_action(‘um_logout_user_links’, ‘um_custom_logout_user_links’, 100 );
}
function um_custom_logout_user_links( $args ) {
global $ultimatemember;?>
- This is the url text
- permalinks->get_current_url(true), um_get_core_page(‘logout’) ) ); ?>”><?php _e(‘Logout’,’ultimate-member’); ?>
<?php
}
I feel so stupid but I can’t find where I must to paste this code. I’ve tried to create a child theme but my web is getting down if I activate it.
I’m not an expert, and obviously I’m doing something wrong. My website is multi-lingual and I need that this code works for each language.
Could you help me?
Thank you!!!
The page I need help with: [log in to see the link]
- The topic ‘CHANGE LOGGED IN PAGE URL’ is closed to new replies.