BP_Groups_List_Table::column_last_active( array $item = array() )
Markup for the Last Active column.
Description
Parameters
- $item
-
(Optional) Information about the current row.
Default value: array()
Source
File: bp-groups/classes/class-bp-groups-list-table.php
public function column_last_active( $item = array() ) {
$last_active = groups_get_groupmeta( $item['id'], 'last_activity' );
/**
* Filters the markup for the Last Active column.
*
* @since BuddyPress 1.7.0
*
* @param string $last_active Markup for the Last Active column.
* @parma array $item The current group item in the loop.
*/
echo apply_filters_ref_array( 'bp_groups_admin_get_group_last_active', array( $last_active, $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.