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.


Top ↑

Source Source

File: bp-core/bp-core-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.