add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

14
inc/get_cached_alm.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
// Фильтр для изменения пути кеша
add_filter('alm_cache_path', function() use ($alm_cache_dir) {
$alm_cache_dir = WP_CONTENT_DIR . '/cache/alm_custom_cache/';
if (!file_exists($alm_cache_dir)) {
wp_mkdir_p($alm_cache_dir);
}
return $alm_cache_dir;
});