Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::get_columns
Gets a list of columns.
Метод класса: FileListTable{}
Хуков нет.
Возвращает
Массив.
Использование
$FileListTable = new FileListTable(); $FileListTable->get_columns(): array;
Код FileListTable::get_columns() FileListTable::get columns WC 10.7.0
public function get_columns(): array {
$columns = array(
'cb' => '<input type="checkbox" />',
'source' => esc_html__( 'Source', 'woocommerce' ),
'created' => esc_html__( 'Date created', 'woocommerce' ),
'modified' => esc_html__( 'Date modified', 'woocommerce' ),
'size' => esc_html__( 'File size', 'woocommerce' ),
);
return $columns;
}