Service Registry

`vtupress_service_registry`

Add or remove core services (Airtime, Data, etc.)

**Before:** Array containing `[‘airtime’ => ‘…’, ‘data’ => ‘…’]`

**Hook Example:**

```php

add_filter('vtupress_service_registry', function($registry) {

    $registry['new_service'] = 'My_Custom_Service_Class';

    unset($registry['cable']); // Optionally remove a service

    return $registry;

});

```

**After:** Array contains `[‘airtime’ => ‘…’, ‘data’ => ‘…’, ‘new_service’ => ‘My_Custom_Service_Class’]`

Was this page helpful?