Override file not from legacy
-
Hi,
I’ve seen that I have to copy the bp-legacy folder into my theme to override the template file.
I’ve done that, it seems ok, but I can’t override the other file, such as bp-group-template.php ? I need to override the function that generates the “sort by” search (without touching the core files, of course).
I’ve tried to override the function inside the buddypress-function.php file and in my theme function.php file, but nothing is working (still have the default form).
See :
`add_filter(“bp_groups_members_filter”, “mytheme_groups_members_filter_custom”);
function mytheme_groups_members_filter_custom(){
return “test”;
}
- You must be logged in to reply to this topic.