Component slug vs root slug
-
Let’s say I set my page for a bp plugin as a child page of members. This works fine for core components as I have activity and groups under members. In BP 1.5 I see you use bp_get_groups_root_slug() which in turn basically returns $bp->groups->root_slug and I’m not sure how that is being set.
$bp->pages->FOO and $bp->FOO->root_slug are empty and I’m not sure how they are supposed to be properly assigned.
How do I get the value of the actual page location?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Component slug vs root slug’ is closed to new replies.