Page::filter_attendee_table_columns( array $columns )

Filters the columns for the Attendees table.


Parameters

$columns

(array) (Required) The columns for the Attendees table.


Top ↑

Return

(array) The filtered columns for the Attendees table.


Top ↑

Source

File: src/Tickets/Admin/Attendees/Page.php

	public function filter_attendee_table_columns( $columns ) {
		if ( ! $this->is_on_page() ) {
			return $columns;
		}

		return \Tribe__Main::array_insert_after_key(
			'ticket',
			$columns,
			[ 'attendee_event' => esc_html_x( 'Associated Post', 'attendee table actions column header', 'event-tickets' ) ]
		);
	}

Top ↑

Changelog

Changelog
Version Description
5.10.0 Introduced.