Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

Table::column_cb()publicWC 1.0

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

Method of the class: Table{}

No Hooks.

Return

String.

Usage

$Table = new Table();
$Table->column_cb( $item );
$item(StoredUrl) (required)
The approved directory information for the current row.

Table::column_cb() code 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() ) );
}