sanitize_user_object Wordpress function


Description:

Sanitize every user field.


Syntax:


Arguments:

(object|array) $user The User Object or Array
(string) $context Optional, default is 'display'. How to sanitize user fields.


Return Type:

(object|array) The now sanitized User Object or Array (will be the same type as $user)


Define At:

wp-includes/deprecated.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/sanitize_user_object


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×