array( 'description' => 'spoke-sso Hub OAuth2 連線設定', ), '2mso_user_mapping' => array( 'description' => 'spoke-sso Hub global_user_id ↔ local user_id mapping', ), ); /** * Register tables to TMDO Custom Table Registry. * * @param object $registry TMDO_Custom_Table_Registry / WPDO_Custom_Table_Registry instance. */ public static function register( $registry ): void { if ( self::$registered ) { return; } if ( ! is_object( $registry ) || ! method_exists( $registry, 'register' ) ) { return; } foreach ( self::TABLES as $suffix => $meta ) { $registry->register( '2meet-data-optimizer-spoke-addon', array( 'table_name' => $suffix, 'primary_key' => 'id', 'description' => $meta['description'], ) ); } self::$registered = true; } }