PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 2.9.8
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v2.9.8
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.9.8, at includes/init.php

44 lines 1.3 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 required files
23 * return void
24 */
25 public function includes() {
26
27 // icons
28 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/icons/icons.php';
29 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/icons/allowed-svg.php';
30
31 // classes
32 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/classes/class-enqueue-assets.php';
33 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/classes/class-blocks-category.php';
34 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/classes/class-register-blocks.php';
35 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/classes/class-generate-style.php';
36 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/classes/class-load-fonts.php';
37
38 // api
39 require_once trailingslashit(GUTSLIDER_DIR) . 'includes/api/api.php';
40 }
41 }
42 }
43
44 new GutSlider_Init(); // Initialize the class