WPINC_user.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki
interface UserApiLegacyFacadeInterface {
// Core User API
function wp_signon( $credentials = array(), $secure_cookie = '' );
function wp_authenticate_username_password($user, $username, $password);
function wp_authenticate_email_password( $user, $email, $password );
function wp_authenticate_cookie($user, $username, $password);
function wp_authenticate_spam_check( $user );
function wp_validate_logged_in_cookie( $user_id );
function count_user_posts( $userid, $post_type = 'post', $public_only = false );
function count_many_users_posts( $users, $post_type = 'post', $public_only = false );
// User Option API
function get_current_user_id();
function get_user_option( $option, $user = 0, $deprecated = '' );
function update_user_option( $user_id, $option_name, $newvalue, $global = false );
function delete_user_option( $user_id, $option_name, $global = false );
function get_users( $args = array() );
function get_blogs_of_user( $user_id, $all = false );
function is_user_member_of_blog( $user_id = 0, $blog_id = 0 );
function add_user_meta($user_id, $meta_key, $meta_value, $unique = false);
function delete_user_meta($user_id, $meta_key, $meta_value = '');
function get_user_meta($user_id, $key = '', $single = false);
function update_user_meta($user_id, $meta_key, $meta_value, $prev_value = '');
function count_users($strategy = 'time');
// Internal (should be stripped from interface)
function setup_userdata($for_user_id = '');
function wp_dropdown_users( $args = '' );
function sanitize_user_field($field, $value, $user_id, $context);
function update_user_caches( $user );
function clean_user_cache( $user );
function username_exists( $username );
function email_exists( $email );
function validate_username( $username );
function wp_insert_user( $userdata );
function wp_update_user($userdata);
function wp_create_user($username, $password, $email = '');
function _get_additional_user_keys( $user );
function wp_get_user_contact_methods( $user = null );
function _wp_get_user_contactmethods( $user = null );
function wp_get_password_hint();
function get_password_reset_key( $user );
function check_password_reset_key($key, $login);
function reset_password( $user, $new_pass );
function register_new_user( $user_login, $user_email );
function wp_send_new_user_notifications( $user_id, $notify = 'both' );
function wp_get_session_token();
function wp_get_all_sessions();
function wp_destroy_current_session();
function wp_destroy_other_sessions();
function wp_destroy_all_sessions();
function wp_get_users_with_no_role();
function _wp_get_current_user();
}