Clanbite Forums

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

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.

public static

Class: Kernowdev\ClanbiteForums\Admin\Forums_Manage_Page

Parameters

$redirect_page_slug (string) Required

Admin page query value (e.g. self::PAGE_SLUG).

$action (string) Required

create_category or update_category.

Returns

void

Defined in inc/Admin/Forums_Manage_Page.php