Warning: This method has been deprecated. Private method LLMS_Person_Handler::sanitize_field() is deprecated with no replacement instead.
Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Person_Handler::sanitize_field( string $val, string $field_type = '' )
Sanitize posted fields
Description Description
This private method can be removed when LLMS_Person_Handler::validate_fields() is removed.
Parameters Parameters
- $val
-
(string) (Required) Unsanitized user data.
- $field_type
-
(string) (Optional) Field type, allows additional sanitization to run based on field type.
Default value: ''
Return Return
(string)
Source Source
File: includes/class.llms.person.handler.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Private method LLMS_Person_Handler::sanitize_field() is deprecated with no replacement. |
3.19.4 | Introduced. |