Automattic\WooCommerce\Internal\Admin\Logging\FileV2
SearchListTable::get_columns
Gets a list of columns.
Метод класса: SearchListTable{}
Хуков нет.
Возвращает
Массив.
Использование
$SearchListTable = new SearchListTable(); $SearchListTable->get_columns(): array;
Код SearchListTable::get_columns() SearchListTable::get columns WC 10.3.4
public function get_columns(): array {
$columns = array(
'file_id' => esc_html__( 'File', 'woocommerce' ),
'line_number' => esc_html__( 'Line #', 'woocommerce' ),
'line' => esc_html__( 'Matched Line', 'woocommerce' ),
);
return $columns;
}