Re: correct way to redefine BuddyPress core functions
Maxaud-
Yeah, hacking core files is never a good idea. That is why there’s a slick, simple solution!
Place all your custom code in a file called bp-custom.php. It should be located in /wp-content/plugins/ not in the BuddyPress directory. This file will load before the BuddyPress components load.
The file has to be named bp-custom.php and placed where I indicated.
Now, when you update BuddyPress, since your custom code exists outside of the BuddyPress directory, you’ll be fine.