Parsed: 126728

<?php

/**
 * Core User API
 *
 * @package WordPress
 * @subpackage Users
 */

/* function wp_signon() – Authenticates and logs a user in with ‘remember’ capability. */

/* function wp_authenticate_username_password() – Authenticates a user, confirming the username and password are valid. */

/* function wp_authenticate_email_password() – Authenticates a user using the email and password. */

/* function wp_authenticate_cookie() – Authenticate the user using the WordPress auth cookie. */

/* function wp_authenticate_application_password() – Authenticates the user using an application password. */

/* function wp_validate_application_password() – Validates the application password credentials passed via Basic Authentication. */

/* function wp_authenticate_spam_check() – For Multisite blogs, check if the authenticated user has been marked as a
spammer, or if the user’s primary blog has been marked as spam. */

/* function wp_validate_logged_in_cookie() – Validates the logged-in cookie. */

/* function count_user_posts() – Number of posts user has written. */

/* function count_many_users_posts() – Number of posts written by a list of users. */

//
// User option functions.
//

/* function get_current_user_id() – Get the current user’s ID */

/* function get_user_option() – Retrieve user option that can be either per Site or per Network. */

/* function update_user_option() – Update user option with global blog capability. */

/* function delete_user_option() – Delete user option with global blog capability. */

/* function get_users() – Retrieve list of users matching criteria. */

/* function wp_list_users() – List all the users of the site, with several options available. */

/* function get_blogs_of_user() – Get the sites a user belongs to. */

/* function is_user_member_of_blog() – Find out whether a user is a member of a given blog. */

/* function add_user_meta() – Adds meta data to a user. */

/* function delete_user_meta() – Remove metadata matching criteria from a user. */

/* function get_user_meta() – Retrieve user meta field for a user. */

/* function update_user_meta() – Update user meta field based on user ID. */

/* function count_users() – Count number of users who have each of the user roles. */

/* function get_user_count() – Returns the number of active users in your installation. */

/* function wp_maybe_update_user_counts() – Updates the total count of users on the site if live user counting is enabled. */

/* function wp_update_user_counts() – Updates the total count of users on the site. */

/* function wp_schedule_update_user_counts() – Schedules a recurring recalculation of the total count of users. */

/* function wp_is_large_user_count() – Determines whether the site has a large number of users. */

//
// Private helper functions.
//

/* function setup_userdata() – Set up global user vars. */

/* function wp_dropdown_users() – Create dropdown HTML content of users. */

/* function sanitize_user_field() – Sanitize user field based on context. */

/* function update_user_caches() – Update all user caches */

/* function clean_user_cache() – Clean all user caches */

/* function username_exists() – Determines whether the given username exists. */

/* function email_exists() – Determines whether the given email exists. */

/* function validate_username() – Checks whether a username is valid. */

/* function wp_insert_user() – Inserts a user into the database. */

/* function wp_update_user() – Update a user in the database. */

/* function wp_create_user() – A simpler way of inserting a user into the database. */

/* function _get_additional_user_keys() – Returns a list of meta keys to be (maybe) populated in wp_update_user(). */

/* function wp_get_user_contact_methods() – Set up the user contact methods. */

/* function _wp_get_user_contactmethods() – The old private function for setting up user contact methods. */

/* function wp_get_password_hint() – Gets the text suggesting how to create strong passwords. */

/* function get_password_reset_key() – Creates, stores, then returns a password reset key for user. */

/* function check_password_reset_key() – Retrieves a user row based on password reset key and login */

/* function retrieve_password() – Handles sending a password retrieval email to a user. */

/* function reset_password() – Handles resetting the user’s password. */

/* function register_new_user() – Handles registering a new user. */

/* function wp_send_new_user_notifications() – Initiates email notifications related to the creation of new users. */

/* function wp_get_session_token() – Retrieve the current session token from the logged_in cookie. */

/* function wp_get_all_sessions() – Retrieve a list of sessions for the current user. */

/* function wp_destroy_current_session() – Remove the current session token from the database. */

/* function wp_destroy_other_sessions() – Remove all but the current session token for the current user for the database. */

/* function wp_destroy_all_sessions() – Remove all session tokens for the current user from the database. */

/* function wp_get_users_with_no_role() – Get the user IDs of all users with no role on this site. */

/* function _wp_get_current_user() – Retrieves the current user object. */

/* function send_confirmation_on_profile_email() – Sends a confirmation request email when a change of user email address is attempted. */

/* function new_user_email_admin_notice() – Adds an admin notice alerting the user to check for confirmation request email
after email address change. */

/* function _wp_privacy_action_request_types() – Get all user privacy request types. */

/* function wp_register_user_personal_data_exporter() – Registers the personal data exporter for users. */

/* function wp_user_personal_data_exporter() – Finds and exports personal data associated with an email address from the user and user_meta table. */

/* function _wp_privacy_account_request_confirmed() – Update log when privacy request is confirmed. */

/* function _wp_privacy_send_request_confirmation_notification() – Notify the site administrator via email when a request is confirmed. */

/* function _wp_privacy_send_erasure_fulfillment_notification() – Notify the user when their erasure request is fulfilled. */

/* function _wp_privacy_account_request_confirmed_message() – Return request confirmation message HTML. */

/* function wp_create_user_request() – Create and log a user request to perform a specific action. */

/* function wp_user_request_action_description() – Get action description from the name and return a string. */

/* function wp_send_user_request() – Send a confirmation request email to confirm an action. */

/* function wp_generate_user_request_key() – Returns a confirmation key for a user action and stores the hashed version for future comparison. */

/* function wp_validate_user_request_key() – Validate a user request by comparing the key with the request’s key. */

/* function wp_get_user_request() – Return the user request object for the specified request ID. */

/* function wp_is_application_passwords_supported() – Checks if Application Passwords is supported. */

/* function wp_is_application_passwords_available() – Checks if Application Passwords is globally available. */

/* function wp_is_application_passwords_available_for_user() – Checks if Application Passwords is available for a specific user. */

/* function wp_register_persisted_preferences_meta */