Cleanse 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 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 readingEnsures a string is a valid SQL order by clause.Accepts one or more columns, with or without ASC/DESC, and also accepts RAND().
2783
Continue readingSanitize post 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.
2781
Continue readingSanitize every post field.If the context is ‘raw’, then the post object or array will get minimal santization of the int fields.
2779
Continue reading