| 1 |
<?php |
| 2 |
/** |
| 3 |
* The plugin gutenberg block. |
| 4 |
* |
| 5 |
* @link https://shapedplugin.com/ |
| 6 |
* @since 2.4.2 |
| 7 |
* |
| 8 |
* @package Smart_Post_Show |
| 9 |
* @subpackage Smart_Post_Show/Admin |
| 10 |
* @author ShapedPlugin <[email protected]> |
| 11 |
*/ |
| 12 |
|
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; // Exit if accessed directly. |
| 15 |
} |
| 16 |
|
| 17 |
if ( ! class_exists( 'Smart_Post_Show_Gutenberg_Block' ) ) { |
| 18 |
|
| 19 |
/** |
| 20 |
* Custom Gutenberg Block. |
| 21 |
*/ |
| 22 |
class Smart_Post_Show_Gutenberg_Block { |
| 23 |
|
| 24 |
/** |
| 25 |
* Block Initializer. |
| 26 |
*/ |
| 27 |
public function __construct() { |
| 28 |
require_once SP_PC_PATH . 'admin/GutenbergBlock/class-smart-post-show-gutenberg-block-init.php'; |
| 29 |
new Smart_Post_Show_Gutenberg_Block_Init(); |
| 30 |
} |
| 31 |
|
| 32 |
} |
| 33 |
} |
| 34 |
|