add comment

This commit is contained in:
Ray Elliott 2020-08-12 15:26:50 +01:00
parent 0efa52be6a
commit 91ebae4cf5
1 changed files with 2 additions and 1 deletions

View File

@ -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';