feat(wpmc S2): Taxonomy::register() attaches init hook

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vladimir Bryzgalov
2026-05-12 17:36:26 +05:00
parent 945ae898ac
commit 53a784bbe8
2 changed files with 62 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace WPMultiCity;
final class Taxonomy
{
public const SLUG = 'town';
public static function register(): void
{
add_action('init', [self::class, 'do_register']);
}
public static function do_register(): void
{
// Implementation filled in Task 5.
}
}