Clanbite

clanbite_request_post_text( string $key, string $default = '' ): string

Read a scalar $_POST field as plain text.

Call only after nonce/capability checks in the same request.

Parameters

$key (string) Required

Field name.

$default (string) Optional

Default when missing.

Default: ''

Returns

string

Defined in inc/functions-request-input.php