ActionScheduler_Abstract_ListTable::get_table_columns()protectedWC 1.0

Process and return the columns name. This is meant for using with SQL, this means it always includes the primary key.

Method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_table_columns();

ActionScheduler_Abstract_ListTable::get_table_columns() code WC 9.3.3

protected function get_table_columns() {
	$columns = array_keys( $this->columns );
	if ( ! in_array( $this->ID, $columns, true ) ) {
		$columns[] = $this->ID;
	}

	return $columns;
}