From 6d852accf080c23debbe74f43fdd956dd69fc800 Mon Sep 17 00:00:00 2001 From: Joe Bailey-Roberts Date: Fri, 7 Jul 2023 12:22:47 +0100 Subject: [PATCH] Start to construct functionality for block registration --- asset-loader.php | 1 + inc/blocks.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 inc/blocks.php diff --git a/asset-loader.php b/asset-loader.php index 45f2cca..458ef84 100644 --- a/asset-loader.php +++ b/asset-loader.php @@ -36,6 +36,7 @@ const LOADED = true; require plugin_dir_path( __FILE__ ) . 'inc/admin.php'; +require plugin_dir_path( __FILE__ ) . 'inc/blocks.php'; require plugin_dir_path( __FILE__ ) . 'inc/manifest.php'; require plugin_dir_path( __FILE__ ) . 'inc/paths.php'; require plugin_dir_path( __FILE__ ) . 'inc/namespace.php'; diff --git a/inc/blocks.php b/inc/blocks.php new file mode 100644 index 0000000..c368097 --- /dev/null +++ b/inc/blocks.php @@ -0,0 +1,48 @@ +