BP_Activity_List_Table::column_author( array $item )
Author column markup.
Description
See also
Parameters
- $item
-
(Required) A singular item (one full row).
Source
File: bp-activity/classes/class-bp-activity-list-table.php
function column_author( $item ) {
echo '<strong>' . get_avatar( $item['user_id'], '32' ) . ' ' . bp_core_get_userlink( $item['user_id'] ) . '</strong>';
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.6.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.