Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,043
- How-to & Troubleshooting
- 129,756
- Creating & Extending
- 25,804
- Requests & Feedback
- 9,506
- Third Party Plugins
- 9,793
- Showcase
- 3,317
- Ideas
- 1,375
- Miscellaneous
- 9,181
-
Hmm. Doesn’t seem to like a numeric parameter:
Parse error: syntax error, unexpected T_LNUMBER in
/xampp/htdocs/testsite/wp-content/themes/bp-childtheme/functions.php on line 41
using
function xe_redirect() {
if (bp_is_front_page()) {
header("Location: http://localhost.localdomain/testsite/members/");
}
}
add_action( 'bp_init', 'xe_redirect' 1);