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.


Top ↑

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: ''


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class.llms.person.handler.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Private method LLMS_Person_Handler::sanitize_field() is deprecated with no replacement.
3.19.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.