BP_Groups_List_Table::column_members( array $item = array() )
Markup for the Number of Members column.
Description
Parameters
- $item
-
(array) (Optional) Information about the current row.
Default value: array()
Source
File: bp-groups/classes/class-bp-groups-list-table.php
public function column_members( $item = array() ) { $count = groups_get_groupmeta( $item['id'], 'total_member_count' ); /** * Filters the markup for the number of Members column. * * @since BuddyPress 1.7.0 * * @param int $count Markup for the number of Members column. * @parma array $item The current group item in the loop. */ echo apply_filters_ref_array( 'bp_groups_admin_get_group_member_count', array( (int) $count, $item ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.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.