what are you trying to do links inside profile fields should work given proper formatting (including the http://)
Thats the point, I don’t want the links to show up on the profiles. I’m trying to remove auto-links in BP profiles.
oh gotcha not sure how to do that sorry.
function my_remove_xprofile_links() {
remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
}
add_action( 'bp_init', 'my_remove_xprofile_links' );
thanks but where can i find that code to replace it? appreciate the help!
Never replace code in the core, you add custom code to a file you place in the wp-content/plugins folder: https://codex.buddypress.org/developer/extending-buddypress/bp-custom-php/
okay I added it but the links are still showing up.
do I place the code you put and replace the // as well?
Put code in between php tags. The // is a comment you can leave or remove.
okay so its up now what I got to do for the links to be removed? Do I have to re do all the profile fields over?
I notice once I use the ‘____’ marks it works, but when I use the drop select fields it still shows the links.
If you need help, we need to see where and how you’ve put the code. Please tell us where you’ve put the bp-custom.php file, and if you can, share a copy of the contents of that file on pastebin.com