# post-carousel/4.0.8/admin/class-smart-post-show-gutenberg-block.php

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

- Page: https://pluginprobe.com/plugins/post-carousel/4.0.8/code/admin/class-smart-post-show-gutenberg-block.php
- Raw: https://pluginprobe.com/plugins/post-carousel/4.0.8/raw/admin/class-smart-post-show-gutenberg-block.php
- Modified: 2026-09-02T10:51:28+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.8/code/admin/class-smart-post-show-gutenberg-block.php#L10-L20`.

```php
<?php
/**
 * The plugin gutenberg block.
 *
 * @link       https://shapedplugin.com/
 * @since      2.4.2
 *
 * @package    Smart_Post_Show
 * @subpackage Smart_Post_Show/Admin
 * @author     ShapedPlugin <support@shapedplugin.com>
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

if ( ! class_exists( 'Smart_Post_Show_Gutenberg_Block' ) ) {

	/**
	 * Custom Gutenberg Block.
	 */
	class Smart_Post_Show_Gutenberg_Block {

		/**
		 * Block Initializer.
		 */
		public function __construct() {
			require_once SP_PC_PATH . 'admin/GutenbergBlock/class-smart-post-show-gutenberg-block-init.php';
			new Smart_Post_Show_Gutenberg_Block_Init();
		}

	}
}

```
