This commit is contained in:
Steve Ross
2024-11-06 22:55:01 +00:00
parent feebb7c94a
commit 93d9838cbd
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;
}
}