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.

Метод класса: ActionScheduler_Abstract_ListTable{}

Хуков нет.

Возвращает

Массив.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_table_columns();

Код ActionScheduler_Abstract_ListTable::get_table_columns() WC 8.7.0

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

	return $columns;
}