Re: How to get rid of autolinking on profile fields
I also wanted to remove the linking in the profile fields, so I added the following line (given above by Fishbowl81) to bp-custom.php, which is in the “plugins” directory.
remove_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data', 2);
The profile fields still have the links though. Is there something special I need to do aside from putting the line in bp-custom.php?
UPDATE: I believe that bp-custom.php should actually go in “mu-plugins”. Also, I did add the php script tags (<?php and ?>) around my code in this file. Still the links appear.