File: /home/dkfounda/public_html/wp-content/plugins/blockskit/blockskit.php
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;
/**
* Plugin Name: Blockskit
* Description: An easy plugin to import starter sites and add different effects to the image.
* Author: blockskitdev
* Author URI: https://blockskit.com/
* Version: 1.2.2
* Text Domain: blockskit
* Domain Path: https://blockskit.com/free
* Tested up to: 6.9
*
* Blockskit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
* You should have received a copy of the GNU General Public License
* along with Blockskit. If not, see <http://www.gnu.org/licenses/>.
*
* @package Blockskit
*/
/**
* Registers the block using the metadata loaded from the `block.json` file.
* Behind the scenes, it registers also all assets so they can be enqueued
* through the block editor in the corresponding context.
*
* @see https://developer.wordpress.org/block-editor/tutorials/block-tutorial/writing-your-first-block-type/
*/
define( 'BLOCKSKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'BLOCKSKIT_PLUGIN_VERSION', '1.2.2');
function create_block_bk_block_init() {
register_block_type_from_metadata( __DIR__ );
}
add_action( 'init', 'create_block_bk_block_init' );
/*
* Demo Import
*/
require plugin_dir_path( __FILE__ ) . 'import/demo-import.php';
// Blockskit Pro Admin Notice
require plugin_dir_path( __FILE__ ) . 'includes/class-blockskit-pro-upgrade-notice.php';
// Advanced Import Override
require plugin_dir_path(__FILE__) . 'includes/class-bk-advanced-import-override.php';
new Bk_Advanced_Import_Override();