BP_Groups_List_Table::column_default( array $item = array(), string $column_name = '' )

Allow plugins to add their custom column.


Parameters Parameters

$item

(array) (Optional) Information about the current row.

Default value: array()

$column_name

(string) (Optional) The column name.

Default value: ''


Top ↑

Return Return

(string)


Source Source

File: bp-groups/classes/class-bp-groups-list-table.php

	public function column_default( $item = array(), $column_name = '' ) {

		/**
		 * Filters a string to allow plugins to add custom column content.
		 *
		 * @since 2.0.0
		 *
		 * @param string $value       Empty string.
		 * @param string $column_name Name of the column being rendered.
		 * @param array  $item        The current group item in the loop.
		 */
		return apply_filters( 'bp_groups_admin_get_group_custom_column', '', $column_name, $item );
	}


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.