BP_Nouveau_Customizer_Group_Nav::get_default_value()
Get the original order for the group navigation.
Description
Return
(array) a list of nav items slugs ordered.
Source
File: bp-templates/bp-nouveau/includes/groups/classes.php
public function get_default_value() {
$default_nav = $this->get_secondary( array( 'parent_slug' => $this->group->slug ) );
return wp_list_pluck( $default_nav, 'slug' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.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.