bp_nouveau_get_filter_container_id()
Get data filter container’s ID attribute value.
Parameters Parameters
-
(string) (Required)
Source Source
File: bp-templates/bp-nouveau/includes/template-tags.php
function bp_nouveau_get_filter_container_id() { $component = bp_nouveau_current_object(); $ids = array( 'members' => $component['members_select'], 'friends' => 'members-friends-select', 'notifications' => 'notifications-filter-select', 'activity' => 'activity-filter-select', 'groups' => 'groups-order-select', 'blogs' => 'blogs-order-select', ); if ( isset( $ids[ $component['object'] ] ) ) { /** * Filters the container ID for BuddyPress Nouveau filters. * * @since 3.0.0 * * @param string $value ID based on current component object. */ return apply_filters( 'bp_nouveau_get_filter_container_id', $ids[ $component['object'] ] ); } return ''; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |