Changeset 8051 for trunk/bp-groups/bp-groups-admin.php
- Timestamp:
- 03/05/2014 10:11:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-admin.php
r8030 r8051 1298 1298 */ 1299 1299 function get_columns() { 1300 return a rray(1300 return apply_filters( 'bp_groups_list_table_get_columns', array( 1301 1301 'cb' => '<input name type="checkbox" />', 1302 1302 'comment' => _x( 'Name', 'Groups admin Group Name column header', 'buddypress' ), … … 1305 1305 'members' => _x( '# Members', 'Groups admin Members column header', 'buddypress' ), 1306 1306 'last_active' => _x( 'Last Active', 'Groups admin Last Active column header', 'buddypress' ) 1307 ) ;1307 ) ); 1308 1308 } 1309 1309 … … 1481 1481 echo apply_filters_ref_array( 'bp_groups_admin_get_group_last_active', array( $last_active, $item ) ); 1482 1482 } 1483 } 1483 1484 /** 1485 * Allow plugins to add their costum column. 1486 * 1487 * @since BuddyPress 2.0.0 1488 * 1489 * @param array Information about the current row. 1490 * @param string the column name. 1491 */ 1492 function column_default( $item = array(), $column_name = '' ) { 1493 return apply_filters( 'bp_groups_admin_get_group_custom_column', '', $column_name, $item ); 1494 } 1495 }
Note: See TracChangeset
for help on using the changeset viewer.