Re: get_bb_location overite doesn’t work
Update:
Tested some stuff. I have this now:
function bbport_location() {
if (substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],"/")+1) == "view.php?view=port"):
return "port-page";
endif;
}
add_filter( 'get_bb_location', 'bbport_location' );
The problem is that it doesn’t return port-page. If I echo get_bb_location tis will still show: view-page instead of port-page. So why isn”t it updated? Why isn’t it returned?