Sanitizes title, replacing whitespace and a few other characters with dashes.Limits the output to alphanumeric characters, underscore (_) and dash (-). Whitespace becomes a dash.
2793
Continue readingSanitizes title, replacing whitespace and a few other characters with dashes.Limits the output to alphanumeric characters, underscore (_) and dash (-). Whitespace becomes a dash.
2793
Continue readingSanitizes title or use fallback title.Specifically, HTML and PHP tags are stripped. Further actions can be added via the plugin API. If $title is empty and $fallback_title is set, the latter will be used.
2791
Continue readingSanitize a string from user input or from the dbcheck for invalid UTF-8, Convert single < characters to entity, strip all tags, remove line breaks, tabs and extra white space, strip octets.
2789
Continue readingCleanse the field value in the term based on the context.Passing a term field value through the function should be assumed to have cleansed the value for whatever context the term field is going to be used.
2787
Continue readingSanitize Term all fields.Relies on sanitize_term_field() to sanitize the term. The difference is that this function will sanitize all fields. The context is based on sanitize_term_field().
2785
Continue reading