176d8e0c0b
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
412 B
PHP
19 lines
412 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace WPMultiCity;
|
|
|
|
final class Helpers
|
|
{
|
|
private static ?string $current_town_memo = null;
|
|
private static bool $current_town_resolved = false;
|
|
private static array $term_cache = [];
|
|
|
|
public static function reset_cache(): void
|
|
{
|
|
self::$current_town_memo = null;
|
|
self::$current_town_resolved = false;
|
|
self::$term_cache = [];
|
|
}
|
|
}
|