# b-blocks/trunk/build/column/render.php

bBlocks – Essential Gutenberg Blocks &amp; Patterns Collection, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/b-blocks/trunk/code/build/column/render.php
- Raw: https://pluginprobe.com/plugins/b-blocks/trunk/raw/build/column/render.php
- Modified: 2026-09-10T10:41:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/b-blocks/trunk/code/build/column/render.php#L10-L20`.

```php
<?php
$prefix = 'bBlocksColumn';
$id = wp_unique_id( "$prefix-" );

use BBlocks\Inc\Utils as Utils;
$planClass = Utils::isPro() ? 'pro' : 'free';

?>
<div
	<?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- get_block_wrapper_attributes() is properly escaped ?>
	<?php echo get_block_wrapper_attributes( [ 'class' => $planClass ] ); ?> 
	id='<?php echo esc_attr( $id ); ?>'
	data-attributes='<?php echo esc_attr( wp_json_encode( $attributes ) ); ?>'
	data-columns='<?php echo esc_attr( $block->context['b-blocks/rowColumns'] ); ?>'
	data-column-gap='<?php echo esc_attr( $block->context['b-blocks/rowColumnGap'] ); ?>'
>

	<div class='<?php echo esc_attr( $prefix ); ?>'>
		<?php echo wp_kses( $content, Utils::allowedInnerHTML() ); ?>
	</div>
</div>
```
