Disabling users link to be clickable

You are here:
< All Topics

Disabling users link to be clickable in messages interfaces.
Available since 1.9.9.121 version.

Add this code snippet to your child theme function.php file or using Code Snippets plugin for example to disable messages viewer.

add_filter('bp_better_messages_user_url', function ($url, $user_id){
return false;
}, 20, 2);
Previous Disable messages viewer
Next How to add text to the new thread button?
Table of Contents