Sep 29, 2021 12:12 pm
Users don't need to access this area so it would be good to disable the pointer just on the username (attached). Log out link needs to be active obviously.
Thanks.
1 Reply
Sep 29, 2021 12:25 pm
You can use the hook code below:
add_filter("wpdiscuz_user_info_and_logout_link", function ($logout_text) { $parts = explode("|", $logout_text); if (!empty($parts)) { $logout_text = strip_tags($parts[0]) . " | " .$parts[1]; } return $logout_text; });
Put the hook code in the WordPress active theme functions.php file (more information how to add insert custom code):