Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,955
- How-to & Troubleshooting
- 129,247
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,473
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,401
- Miscellaneous
- 9,165
-
You need to wrap that code in PHP open and close tags.
eg.
<?php
function my_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');
?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS