mirror of
https://github.com/WordPress/create-block-theme.git
synced 2025-10-03 16:11:13 +08:00
41 lines
946 B
PHP
41 lines
946 B
PHP
<?php
|
|
|
|
/**
|
|
* @wordpress-plugin
|
|
* Plugin Name: Create Block Theme
|
|
* Plugin URI: https://wordpress.org/plugins/create-block-theme
|
|
* Description: Generates a block theme
|
|
* Version: 1.5.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;
|
|
}
|
|
|
|
/**
|
|
* 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 run_create_block_theme() {
|
|
|
|
$plugin = new Create_Block_Theme();
|
|
$plugin->run();
|
|
|
|
}
|
|
run_create_block_theme();
|