# Forums_Manage_Page::handle_category_post_action()

Create or update a forum category; redirects to `$redirect_page_slug` on success.

Verifies the manage nonce and site-management capability itself, so a caller cannot skip either check.

```php
handle_category_post_action( string $redirect_page_slug, string $action ): void
```

## Parameters

- `$redirect_page_slug` (string) Admin `page` query value (e.g. `self::PAGE_SLUG`).
- `$action` (string) `create_category` or `update_category`.

## Return

`void`
