Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,667
- How-to & Troubleshooting
- 127,978
- Creating & Extending
- 25,647
- Requests & Feedback
- 9,399
- Third Party Plugins
- 9,725
- Showcase
- 3,320
- Ideas
- 1,346
- Miscellaneous
- 8,853
-
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