r-a-y posted on the forum topic How to overwrite a function? in the group Creating & Extending: 11 years, 5 months ago
@heini , @DJPaul – Works for me in bp-custom.php. Did you wrap the code in open and ending PHP tags?
eg. (replace square brackets with circular brackets).
If that doesn’t work, you can always put the code in your theme’s functions.php.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service