PluginProbe
Section Builder with Backgrounds – Customize with Color, Gradient, Image and Parallax. / 0.11
Section Builder with Backgrounds – Customize with Color, Gradient, Image and Parallax. v0.11
trunk 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19
background-block / background-block.php

background-block.php in Section Builder with Backgrounds – Customize with Color, Gradient, Image and Parallax. 0.11, at background-block.php

34 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Plugin Name: Section Builder with Backgrounds
4 * Plugin URI: https://pluginenvision.com/plugins/background-block
5 * Description: Customize your WordPress section easily! Choose backgrounds with color, gradient, image. Add parallax effects, and more for a stunning layout.
6 * Version: 0.11
7 * Requires at least: 6.2
8 * Requires PHP: 7.2
9 * Author: Plugin Envision
10 * Author URI: https://pluginenvision.com
11 * License: GPLv3 or later
12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
13 * Text Domain: background-block
14 * Domain Path: /languages
15 */
16
17 if ( !defined( 'ABSPATH' ) ) { exit; }
18
19 define( 'EVBB_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '0.11' );
20 define( 'EVBB_DIR_URL', plugin_dir_url( __FILE__ ) );
21 define( 'EVBB_DIR_PATH', plugin_dir_path( __FILE__ ) );
22
23 if( !class_exists( 'EVBBPlugin' ) ){
24 class EVBBPlugin{
25 function __construct(){
26 add_action( 'init', [ $this, 'onInit' ] );
27 }
28
29 function onInit(){
30 register_block_type( __DIR__ . '/build' );
31 }
32 }
33 new EVBBPlugin();
34 }