PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / trunk
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts vtrunk
2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 1.1.1 All 147 releases
content-blocks-builder / includes / core-component.php

core-component.php in Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts trunk, at includes/core-component.php

42 lines 757 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Core component
4 *
5 * @package BoldBlocks
6 * @author Phi Phan <mrphipv@gmail.com>
7 * @copyright Copyright (c) 2022, Phi Phan
8 */
9
10 namespace BoldBlocks;
11
12 // Exit if accessed directly.
13 defined( 'ABSPATH' ) || exit;
14
15 if ( ! class_exists( CoreComponent::class ) ) :
16 /**
17 * Create/edit custom content blocks.
18 */
19 abstract class CoreComponent {
20 /**
21 * The plugin instance
22 *
23 * @var ContentBlocksBuilder
24 */
25 protected $the_plugin_instance;
26
27 /**
28 * A constructor
29 */
30 public function __construct( $the_plugin_instance ) {
31 $this->the_plugin_instance = $the_plugin_instance;
32 }
33
34 /**
35 * Run main hooks
36 *
37 * @return void
38 */
39 abstract public function run();
40 }
41 endif;
42