Set up global user vars.Used by wp_set_current_user() for back compat. Might be deprecated in the future.
2839
Continue readingSet up global user vars.Used by wp_set_current_user() for back compat. Might be deprecated in the future.
2839
Continue readingSanitize every user field.If the context is ‘raw’, then the user object or array will get minimal santization of the int fields.
2801
Continue readingSanitize 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 readingRetrieve user option that can be either per Site or per Network.If the user ID is not given, then the current user will be used instead. If the user ID is given, then the user data will be retrieved. The filter for the result, will also pass the original option name and finally the user data object as the third parameter.
1903
Continue reading