Fix error in import class bootstrap navwalker on build
This commit is contained in:
parent
eee8fc8214
commit
85db6df693
|
@ -16,6 +16,7 @@ echo "\m Checking if file bootstrap navwalker exist ... \n\n";
|
||||||
|
|
||||||
if (!file_exists("src/vendor/class-wp-bootstrap-navwalker.php")) {
|
if (!file_exists("src/vendor/class-wp-bootstrap-navwalker.php")) {
|
||||||
echo "\m Copy Boostrap Navwalker ... \n\n";
|
echo "\m Copy Boostrap Navwalker ... \n\n";
|
||||||
|
mkdir("src/vendor/");
|
||||||
copy("vendor/wp-bootstrap/wp-bootstrap-navwalker/class-wp-bootstrap-navwalker.php", "src/vendor/class-wp-bootstrap-navwalker.php");
|
copy("vendor/wp-bootstrap/wp-bootstrap-navwalker/class-wp-bootstrap-navwalker.php", "src/vendor/class-wp-bootstrap-navwalker.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue