BP_Activity_List_Table::column_action( array $item )
Action column markup.
Description Description
See also See also
Parameters Parameters
- $item
-
(Required) A singular item (one full row).
Source Source
File: bp-activity/classes/class-bp-activity-list-table.php
function column_action( $item ) { $actions = bp_activity_admin_get_activity_actions(); if ( isset( $actions[ $item['type'] ] ) ) { echo $actions[ $item['type'] ]; } else { printf( __( 'Unregistered action - %s', 'buddypress' ), $item['type'] ); } }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |