ActionScheduler_Abstract_ListTable::get_table_columns
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() ActionScheduler Abstract ListTable::get table columns WC 10.5.0
protected function get_table_columns() {
$columns = array_keys( $this->columns );
if ( ! in_array( $this->ID, $columns, true ) ) {
$columns[] = $this->ID;
}
return $columns;
}