Clanbite

clanbite_request_post_flag( string $key ): bool

Whether a POST field is present and truthy (checkbox / remove flag).

Matches historical ! empty( $_POST[ $key ] ) for typical HTML checkboxes (1, on, etc.).

Parameters

$key (string) Required

Field name.

Returns

bool

Defined in inc/functions-request-input.php