Anyone? This really seems like a function that should be optional in BP.
@henrybaum, put the following code inside your bp-custom.php.
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’ );
Regards
That turned the site white. This was already there:
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 50, 2 );
}
add_action( ‘plugins_loaded’, ‘remove_xprofile_links’ );
How useful is the above code – will replacing one with the other affect anything?
Thanks.
It looks like one is for buddypress 1.5+ and the other for buddypress 1.2.9-
See: https://codex.buddypress.org/extending-buddypress/bp-custom-php/#examples
Ah! Thanks – I upgraded the plugin, but not that file. Working now.
which file? i wanna know too