BP_Groups_List_Table::column_last_active( array $item = array() )
Markup for the Last Active column.
Description Description
Parameters Parameters
- $item
-
(Optional) Information about the current row.
Default value: array()
Source 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 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 Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |