PluginProbe
Create Block Theme / 2.7.0
Create Block Theme v2.7.0
2.10.1 trunk 0.1.2.1 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.1.3 1.10.0 1.11.0 1.12.0 1.12.1 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.13.5 1.13.6 1.13.7 1.13.8 1.2.0 1.2.2 1.2.3 All 65 releases
create-block-theme / create-block-theme.php

create-block-theme.php in Create Block Theme 2.7.0, at create-block-theme.php

47 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @wordpress-plugin
5 * Plugin Name: Create Block Theme
6 * Plugin URI: https://wordpress.org/plugins/create-block-theme
7 * Description: Generates a block theme
8 * Version: 2.7.0
9 * Author: WordPress.org
10 * Author URI: https://wordpress.org/
11 * License: GNU General Public License v2 or later
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: create-block-theme
14 */
15
16 // If this file is called directly, abort.
17 if ( ! defined( 'WPINC' ) ) {
18 die;
19 }
20
21 // Include file with download_url() if function doesn't exist.
22 if ( ! function_exists( 'download_url' ) ) {
23 require_once ABSPATH . 'wp-admin/includes/file.php';
24 }
25
26 /**
27 * The core plugin class.
28 */
29 require plugin_dir_path( __FILE__ ) . 'includes/class-create-block-theme.php';
30
31 /**
32 * Begins execution of the plugin.
33 *
34 * Since everything within the plugin is registered via hooks,
35 * then kicking off the plugin from this point in the file does
36 * not affect the page life cycle.
37 *
38 * @since 0.0.2
39 */
40 function cbt_run_create_block_theme() {
41
42 $plugin = new CBT_Plugin();
43 $plugin->run();
44
45 }
46 cbt_run_create_block_theme();
47