# post-carousel/4.0.2/admin/page-builder/oxygen/init.php

Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog &amp; News, version 4.0.2. 18 lines.

- Page: https://pluginprobe.com/plugins/post-carousel/4.0.2/code/admin/page-builder/oxygen/init.php
- Raw: https://pluginprobe.com/plugins/post-carousel/4.0.2/raw/admin/page-builder/oxygen/init.php
- Modified: 2026-04-24T11:48:54+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/post-carousel/4.0.2/code/admin/page-builder/oxygen/init.php#L10-L20`.

```php
<?php

defined( 'ABSPATH' ) || exit;
/**
 * Smart Post Oxygen Builder integration function.
 *
 * Loads the Oxygen builder integration file if Oxygen is active.
 *
 * @since 4.0.0
 * @return void
 */
function smart_post_oxygen_builder() {
	if ( class_exists( 'OxygenElement' ) ) {
		require_once SP_PC_PATH . 'admin/page-builder/oxygen/oxygen.php';
	}
}
add_action( 'init', 'smart_post_oxygen_builder' );

```
