BP_Core_BP_Nav_BackCompat::set_component( string $component )
Set the component to which the nav belongs.
Description
Parameters
- $component
-
(Required)
Source
File: bp-core/classes/class-bp-core-bp-nav-backcompat.php
public function set_component( $component ) { $this->component = $component; }
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.