Tribe__Tickets__Attendees_Table::get_bulk_actions()

Get an associative array ( option_name => option_title ) with the list of bulk actions available on this table.

Contents


Return

(array)


Top ↑

Source

File: src/Tribe/Attendees_Table.php

	public function get_bulk_actions() {
		$actions = array();

		if ( tribe( 'tickets.attendees' )->user_can_manage_attendees( 0, $this->event->ID ) ) {
			$actions['delete_attendee'] = esc_attr__( 'Delete', 'event-tickets' );
			$actions['check_in']        = esc_attr__( 'Check in', 'event-tickets' );
			$actions['uncheck_in']      = esc_attr__( 'Undo Check in', 'event-tickets' );
		}

		return (array) apply_filters( 'tribe_events_tickets_attendees_table_bulk_actions', $actions );
	}