PluginProbe
Better Block Editor (BBE) / trunk
Better Block Editor (BBE) vtrunk
1.8.1 1.8.0 1.7.0 1.6.0 1.5.1 1.5.0 trunk 1.0.0 1.0.1 1.0.1.1 1.0.1.2 1.1.0 1.2.0 1.2.1 1.2.2 1.3.0 1.4.0 1.4.1 1.4.2
better-block-editor / better-block-editor.php

better-block-editor.php in Better Block Editor (BBE) trunk, at better-block-editor.php

46 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Better Block Editor (BBE)
4 * Description: Better Block Editor (BBE) adds responsive layout controls, hover effects, on-scroll animations, and ready-to-use site templates to Block Editor.
5 * Requires at least: 7.1
6 * Requires PHP: 7.4
7 * Version: 1.8.1
8 * Author: Dream-Theme
9 * License: GPLv2 or later
10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: better-block-editor
12 *
13 * @package BetterBlockEditor
14 */
15
16 use BetterBlockEditor\Plugin;
17
18 defined( 'ABSPATH' ) || exit;
19
20 require_once __DIR__ . '/vendor/autoload.php';
21 require_once __DIR__ . '/plugin.php';
22
23 define( 'WPBBE_VERSION', '1.8.1' );
24
25 define( 'WPBBE_FILE', __FILE__ );
26 define( 'WPBBE_DIR', plugin_dir_path( WPBBE_FILE ) );
27 define( 'WPBBE_BASE', plugin_basename( WPBBE_FILE ) );
28 define( 'WPBBE_URL', plugins_url( '/', WPBBE_FILE ) );
29 define( 'WPBBE_URL_DIST', WPBBE_URL . 'dist/' );
30 define( 'WPBBE_DIST', WPBBE_DIR . 'dist/' );
31 define( 'WPBBE_ULR_LIB_ASSETS', WPBBE_URL . 'lib/' );
32 define( 'WPBBE_BLOCKS_DIR', WPBBE_DIST . 'blocks/' );
33 define( 'WPBBE_TEMPLATES_DIR', WPBBE_DIR . 'templates/' );
34 define( 'WPBBE_PLUGIN_ID', 'better-block-editor' );
35 define( 'WPBBE_PLUGIN_NAME', 'Better Block Editor' );
36 define( 'WPBBE_REST_BASE', 'wpbbe/v1' );
37 // register uninstall hook inside activate hook
38 // it has to be on this stage
39 register_activation_hook( __FILE__, 'wpbbe_plugin_activate' );
40
41 function wpbbe_plugin_activate() {
42 register_uninstall_hook( __FILE__, array( 'BetterBlockEditor\Plugin', 'on_uninstall' ) );
43 }
44
45 Plugin::instance();
46