BP_Activity_List_Table::column_action( array $item )

Action column markup.


Description Description

See also See also


Top ↑

Parameters Parameters

$item

(Required) A singular item (one full row).


Top ↑

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'] );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.