Function __global->is_password_field
Definitions
sources/global3.php
- Find if a POST field is a password field.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $field_name | string | No | No | required parameter | N/A | N/A | Field to check |
Returns
- If it's a password field
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if a POST field is a password field.
*
* @param string $field_name Field to check
* @return boolean If it's a password field
*/
function is_password_field(string $field_name) : bool
* Find if a POST field is a password field.
*
* @param string $field_name Field to check
* @return boolean If it's a password field
*/
function is_password_field(string $field_name) : bool
