# Feed_Context_Registry::register()

Register (or replace) a feed context.

```php
register( string $slug, array $args ): bool
```

## Parameters

- `$slug` (string) Slug: lowercase letters, digits, `_` and `-`, starting with a letter (max 40).
- `$args` (array<string, mixed>) Context arguments; see `Feed_Context`.

## Return

`bool` True when the context was registered.
