Archive | Functions by letter s RSS feed for this section

sanitize_user_object

Sanitize every user field.If the context is ‘raw’, then the user object or array will get minimal santization of the int fields.

2801

Continue reading

sanitize_user_field

Sanitize user field based on context.Possible context values are: ‘raw’, ‘edit’, ‘db’, ‘display’, ‘attribute’ and ‘js’. The ‘display’ context is used by default. ‘attribute’ and ‘js’ contexts are treated like ‘display’ when calling filters.

2799

Continue reading

sanitize_user

Sanitize username stripping out unsafe characters.Removes tags, octets, entities, and if strict is enabled, will only keep alphanumeric, _, space, ., -, @. After sanitizing, it passes the username, raw username (the username in the parameter), and the value of $strict as parameters for the ‘sanitize_user’ filter.

2797

Continue reading