diff --git a/svg.php b/svg.php index 4ca3ccf..78ba6b5 100644 --- a/svg.php +++ b/svg.php @@ -4,9 +4,10 @@ function svg_block_init() { return; } + // remember - for a block defined in a plugin, we will not be using + // get_template_directory(), etc, it will be the equivalent for plugins. $dir = get_template_directory() . '/blocks/svg'; $uri = get_template_directory_uri() . "/blocks/svg"; - $asset_file = include( get_template_directory() . '/blocks/svg/build/index.asset.php'); $index_js = 'build/index.js';