add comment
This commit is contained in:
parent
0efa52be6a
commit
91ebae4cf5
3
svg.php
3
svg.php
|
@ -4,9 +4,10 @@ function svg_block_init() {
|
||||||
return;
|
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';
|
$dir = get_template_directory() . '/blocks/svg';
|
||||||
$uri = get_template_directory_uri() . "/blocks/svg";
|
$uri = get_template_directory_uri() . "/blocks/svg";
|
||||||
|
|
||||||
$asset_file = include( get_template_directory() . '/blocks/svg/build/index.asset.php');
|
$asset_file = include( get_template_directory() . '/blocks/svg/build/index.asset.php');
|
||||||
|
|
||||||
$index_js = 'build/index.js';
|
$index_js = 'build/index.js';
|
||||||
|
|
Loading…
Reference in New Issue