feat(wpmc S2): FieldGroup::register() attaches acf/init hook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace WPMultiCity;
|
||||
|
||||
final class FieldGroup
|
||||
{
|
||||
public const GROUP_KEY = 'group_wpmc_shortcode_rows';
|
||||
public const REPEATER_KEY = 'field_wpmc_list_shortcode';
|
||||
|
||||
public static function register(): void
|
||||
{
|
||||
add_action('acf/init', [self::class, 'do_register']);
|
||||
}
|
||||
|
||||
public static function do_register(): void
|
||||
{
|
||||
// Implementation filled in Tasks 13 and 14.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user