| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Blocks Kit - Gutenberg Blocks for Freelancers |
| 4 |
* Plugin URI: https://wordpress.org/plugins/blocks-kit/ |
| 5 |
* Description: Additional Gutenberg Blocks for Editors, Content Writers and freelancers with advanced styles and options. |
| 6 |
* Version: 1.2.1 |
| 7 |
* Author: Techeshta |
| 8 |
* Author URI: https://www.techeshta.com |
| 9 |
* License: GPL-2.0+ |
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 11 |
* Text Domain: blocks-kit |
| 12 |
* |
| 13 |
* @package BlocksKit |
| 14 |
* @since 1.0.0 |
| 15 |
*/ |
| 16 |
|
| 17 |
/** |
| 18 |
* Exit if accessed directly. |
| 19 |
* |
| 20 |
* Prevents direct access to this file from outside WordPress. |
| 21 |
*/ |
| 22 |
if ( ! defined( 'ABSPATH' ) ) { |
| 23 |
exit; |
| 24 |
} |
| 25 |
|
| 26 |
/** |
| 27 |
* Current plugin version. |
| 28 |
* Update this version number for releases. |
| 29 |
* |
| 30 |
* @var string BK_VERSION |
| 31 |
*/ |
| 32 |
define( 'BK_VERSION', '1.2.1' ); |
| 33 |
|
| 34 |
/** |
| 35 |
* Plugin directory path. |
| 36 |
* Used for requiring files and locating plugin resources. |
| 37 |
* |
| 38 |
* @var string BK_PLUGIN_DIR |
| 39 |
*/ |
| 40 |
define( 'BK_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); |
| 41 |
|
| 42 |
/** |
| 43 |
* Plugin URL path. |
| 44 |
* Used for enqueuing CSS, JavaScript, and other resources. |
| 45 |
* |
| 46 |
* @var string BK_PLUGIN_URL |
| 47 |
*/ |
| 48 |
define( 'BK_PLUGIN_URL', plugins_url( '/', __FILE__ ) ); |
| 49 |
|
| 50 |
/** |
| 51 |
* Plugin text domain for translations. |
| 52 |
* Used for i18n and localization. |
| 53 |
* |
| 54 |
* @var string BK_DOMAIN |
| 55 |
*/ |
| 56 |
define( 'BK_DOMAIN', 'blocks-kit' ); |
| 57 |
|
| 58 |
/** |
| 59 |
* Block Initializer |
| 60 |
* |
| 61 |
* Loads the main initialization file which handles: |
| 62 |
* - Block asset enqueueing (CSS, JavaScript) |
| 63 |
* - Block category registration |
| 64 |
* - Admin review notice functionality |
| 65 |
* |
| 66 |
* @since 1.0.0 |
| 67 |
*/ |
| 68 |
require_once plugin_dir_path( __FILE__ ) . 'src/init.php'; |
| 69 |
|