Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

Table::column_cb()publicWC 1.0

Checklist column, used for selecting items for processing by a bulk action.

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

Хуков нет.

Возвращает

Строку.

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

$Table = new Table();
$Table->column_cb( $item );
$item(StoredUrl) (обязательный)
The approved directory information for the current row.

Код Table::column_cb() WC 8.7.0

public function column_cb( $item ) {
	return sprintf( '<input type="checkbox" name="%1$s[]" value="%2$s" />', esc_attr( $this->_args['singular'] ), esc_attr( $item->get_id() ) );
}