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

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

- Page: https://pluginprobe.com/plugins/ultimate-post/5.0.41/code/addons/bricks_builder/init.php
- Raw: https://pluginprobe.com/plugins/ultimate-post/5.0.41/raw/addons/bricks_builder/init.php
- Modified: 2026-09-16T12:17:26+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.41/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 );

```
