Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
I first tested my function like this:
function custom_bp_profile_group_tabs() {
echo ‘bacon’;
}
add_filter(‘xprofile_filter_profile_group_tabs’,’custom_bp_profile_group_tabs’);
It worked and returned “bacon” in the area of “Base” and “GroupProfile” menu.
So if echo is not a return then, I think the Filter doesn’t require return!