Clanbite

clanbite_sanitize_player_settings_post_array( array $post ): array<string, mixed>

Sanitize the full $_POST tree for the player settings AJAX save entry point.

Call only after nonce verification. Unknown keys are treated as plain text; known rich-text fields use wp_kses_post().

Parameters

$post (array<string, mixed>) Required

Raw POST (wp_unslash( $_POST ) or $_POST with slashes intact — values are unslashed per field).

Returns

array<string, mixed>

Defined in inc/functions-request-input.php