The codex is your buddy.
function remove_xprofile_links() {
remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
}
add_action( 'bp_init', 'remove_xprofile_links' );
thank you for the reply, I made a bp-custom.php file and put it at the root of the plugins directory and it did not correct the issue.
I should note that these hyperlinks display even after I have disabled all of my xprofile plugins so I’m stumped!
@franklinkevin321
You can try this small plugin:
https://github.com/bphelp/bp-remove-profile-links/archive/master.zip
Does the same thing shane suggested just in a plugin form. I have it working for me so give it a try.
thanks! I did try that plugin as well and they are still coming back as hyperlinks. The only thing I found was if I use the plugin to add a Rich Text Field option it does what I want, however it makes the fields sizes HUGE! I’d much rather find a way to correct it so I can use the standard text field.
Any other ideas?
@franklinkevin321
Maybe your theme or other plugins is interfering with the function of the plugin so maybe you should try a different theme like twentyfourteen and deactivating the other plugins other than BP and the bp-remove-profile-links plugin.
thank you, tried that too. same thing.
hi franklinkevin321,
I have disabled all of my xprofile plugins
For our understanding, can you tell which plugins you’re speaking about ?
The snippet is intended for BP, so if you use another source to generate your profile fields, it maybe possible that it screws your template.