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{}

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() WC 7.1.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() ) );
}