This commit is contained in:
2024-11-06 22:55:01 +00:00
parent e0ad3b5d03
commit 3bf359177a
2 changed files with 536 additions and 2 deletions

View File

@@ -12,14 +12,14 @@ class JSON
public function save( $path )
{
$path = get_stylesheet_directory() . '/acf-json';
$path = get_stylesheet_directory() . '/resources/acf';
return $path;
}
public function load( $paths )
{
unset($paths[0]);
$paths[] = get_stylesheet_directory() . '/acf-json';
$paths[] = get_stylesheet_directory() . '/resources/acf';
return $paths;
}
}