PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 2.2.1
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v2.2.1
3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 2.6.1 All 56 releases
slider-blocks / includes / init.php

init.php in GutSlider – All in One Slider and Carousel Blocks for Gutenberg 2.2.1, at includes/init.php

38 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * GutSliderBlocks Init
4 * @package GutSliderBlocks
5 */
6
7 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
8
9 if( ! class_exists( 'GutSlider_Init' ) ) {
10
11 class GutSlider_Init {
12
13 /**
14 * Constructor
15 * return void
16 */
17 public function __construct() {
18 $this->includes();
19 }
20
21 /**
22 * Include the files
23 * return void
24 */
25 public function includes() {
26 require_once GUTSLIDER_DIR . '/includes/classes/class-frontend-scripts.php';
27 require_once GUTSLIDER_DIR . '/includes/classes/class-enqueue-assets.php';
28 require_once GUTSLIDER_DIR . '/includes/classes/class-blocks-category.php';
29 require_once GUTSLIDER_DIR . '/includes/classes/class-register-blocks.php';
30 require_once GUTSLIDER_DIR . '/includes/classes/class-generate-style.php';
31 require_once GUTSLIDER_DIR . '/includes/classes/class-load-fonts.php';
32 }
33
34 }
35
36 }
37
38 new GutSlider_Init(); // Initialize the class