apply_filters( 'bp_core_component_slug_from_root_slug', string $slug , string $root_slug )
Filters the default component slug from a WP page root_slug.
Description Description
Parameters Parameters
- $slug
-
Short slug for use in the middle of URLs.
- $root_slug
-
The root slug which comes from $bp->pages-[component]->slug.
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |