Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Permalinks setup with WP intalled in subdirectory and index.php in root


r-a-y
Keymaster

@r-a-y

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');
?>

Skip to toolbar