# ultimate-post/5.0.23/addons/bricks_builder/init.php

Post Grid Gutenberg Blocks – PostX, version 5.0.23. 12 lines.

- Page: https://pluginprobe.com/plugins/ultimate-post/5.0.23/code/addons/bricks_builder/init.php
- Raw: https://pluginprobe.com/plugins/ultimate-post/5.0.23/raw/addons/bricks_builder/init.php
- Modified: 2026-06-04T11:21:00+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/ultimate-post/5.0.23/code/addons/bricks_builder/init.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || exit;

function ultp_postx_bricks_builder() {
	if ( ultimate_post()->get_setting( 'ultp_bricks_builder' ) == 'true' ) {
		if ( defined( 'BRICKS_VERSION' ) ) {
			\Bricks\Elements::register_element( ULTP_PATH . '/addons/bricks_builder/bricksbuilder.php' );
		}
	}
}
add_action( 'init', 'ultp_postx_bricks_builder', 11 );

```
