bp_nouveau_get_component_slug( string $component_id = '' )
Gets the component’s slug thanks to its ID.
Description Description
Parameters Parameters
- $component_id
-
(Optional) The component ID.
Default value: ''
Return Return
(string) The slug for the requested component ID.
Source Source
File: bp-templates/bp-nouveau/includes/functions.php
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |