Archive | Functions RSS feed for this section

save_mod_rewrite_rules

Updates the htaccess file with the current rules if it is writable.Always writes to the file if it exists and is writable to ensure that we blank out old rules.

2805

Continue reading

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