a working react/php dynamic wordpress block example integrated with the Vite build process
This commit is contained in:
@@ -60,7 +60,7 @@ autoload_psr4('Admin');
|
||||
autoload_psr4('Ajax');
|
||||
|
||||
function autoload_psr4_blocks() {
|
||||
$path = __dir__ . '/resources/views/blocks/*';
|
||||
$path = __dir__ . '/resources/views/acf-blocks/*';
|
||||
$namespace = 'Blocks\\';
|
||||
|
||||
foreach(glob($path, GLOB_ONLYDIR) as $directory) {
|
||||
|
||||
Reference in New Issue
Block a user