create-block-theme/create-block-theme.php
github-actions[bot] b9e0228e39
Version bump & changelog update (#769)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-22 10:26:13 +09:00

46 lines
1.1 KiB
PHP

<?php
/**
* @wordpress-plugin
* Plugin Name: Create Block Theme
* Plugin URI: https://wordpress.org/plugins/create-block-theme
* Description: Generates a block theme
* Version: 2.7.0
* Author: WordPress.org
* Author URI: https://wordpress.org/
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: create-block-theme
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Include file with download_url() if function doesn't exist.
if ( ! function_exists( 'download_url' ) ) {
require_once ABSPATH . 'wp-admin/includes/file.php';
}
/**
* The core plugin class.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class-create-block-theme.php';
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 0.0.2
*/
function cbt_run_create_block_theme() {
$plugin = new CBT_Plugin();
$plugin->run();
}
cbt_run_create_block_theme();