Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin
Table::get_columns
Get list columns.
Метод класса: Table{}
Хуков нет.
Возвращает
Массив.
Использование
$Table = new Table(); $Table->get_columns();
Код Table::get_columns() Table::get columns WC 10.9.4
public function get_columns() {
return array(
'cb' => '<input type="checkbox" />',
'title' => _x( 'URL', 'Approved product download directories', 'woocommerce' ),
'enabled' => _x( 'Enabled', 'Approved product download directories', 'woocommerce' ),
);
}