| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Block Editor Colors |
| 4 |
* Plugin URI: https://motopress.com/products/block-editor-colors/ |
| 5 |
* Description: Change Gutenberg block editor colors or create new ones. |
| 6 |
* Version: 1.2.5 |
| 7 |
* Author: MotoPress |
| 8 |
* Author URI: https://motopress.com |
| 9 |
* Text Domain: block-editor-colors |
| 10 |
* Domain Path: /languages/ |
| 11 |
*/ |
| 12 |
|
| 13 |
use BlockEditorColors\BlockEditorColors; |
| 14 |
|
| 15 |
if ( ! defined( 'BEC_PLUGIN_FILE' ) ) { |
| 16 |
define( 'BEC_PLUGIN_FILE', __FILE__ ); |
| 17 |
define( 'BEC_PLUGIN_VERSION', '1.2.5' ); |
| 18 |
} |
| 19 |
|
| 20 |
if ( ! class_exists( 'BlockEditorColors' ) ) { |
| 21 |
require_once dirname( __FILE__ ) . '/includes/BlockEditorColors.php'; |
| 22 |
} |
| 23 |
|
| 24 |
function BlockEditorColors() { |
| 25 |
return BlockEditorColors::getInstance(); |
| 26 |
} |
| 27 |
|
| 28 |
BlockEditorColors(); |
| 29 |
|