PluginProbe
Block Responsive – Make Editor Blocks Responsive Easily / 1.0.3
Block Responsive – Make Editor Blocks Responsive Easily v1.0.3
1.1.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0
block-responsive / block-responsive.php

block-responsive.php in Block Responsive – Make Editor Blocks Responsive Easily 1.0.3, at block-responsive.php

41 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Block Responsive - Make Editor Blocks Responsive Easily
4 * Plugin URI: http://wordpress.org/plugins/block-responsive/
5 * Description: A plugin that provides responsive options for Gutenberg blocks, allowing you to control visibility and styles based on screen size.
6 * Version: 1.0.3
7 * Requires at least: 6.7
8 * Requires PHP: 7.4
9 * Author: ashrafuzzaman93
10 * Author URI: https://ashrafuzzaman.com/
11 * License: GPL-2.0-or-later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: block-responsive
14 *
15 * @package BlockResponsive
16 */
17
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 // Use the necessary namespace.
23 use Ashraf93\BlockResponsive\BlockResponsive;
24
25 // Define constant for the Plugin file.
26 if ( ! defined( 'BLOCKRESPONSIVE_VERSION' ) ) {
27 define( 'BLOCKRESPONSIVE_VERSION', '1.0.3' );
28 }
29
30 if ( ! defined( 'BLOCKRESPONSIVE_DIR_PATH' ) ) {
31 define( 'BLOCKRESPONSIVE_DIR_PATH', plugin_dir_path( __FILE__ ) );
32 }
33
34 if ( ! defined( 'BLOCKRESPONSIVE_DIR_URL' ) ) {
35 define( 'BLOCKRESPONSIVE_DIR_URL', plugin_dir_url( __FILE__ ) );
36 }
37
38 require_once BLOCKRESPONSIVE_DIR_PATH . 'inc/BlockResponsive.php';
39
40 new BlockResponsive();
41