Title: Users | Page 10 of 10 | Developer.WordPress.org

---

# @package: Users

 * function[get_current_user_id()](https://developer.wordpress.org/reference/functions/get_current_user_id/)
 * Gets the current user’s ID.
 * Used by [111 functions](https://developer.wordpress.org/reference/functions/get_current_user_id/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_current_user_id/#uses)
   | Source: [wp-includes/user.php:726](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L726-L732)
 * hook[wp_login](https://developer.wordpress.org/reference/hooks/wp_login/)
 * Fires after the user has successfully logged in.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_login/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_login/#uses)
   | Source: [wp-includes/user.php:138](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L138-L138)
 * function[get_user_option()](https://developer.wordpress.org/reference/functions/get_user_option/)
 * Retrieves user option that can be either per Site or per Network.
 * Used by [30 functions](https://developer.wordpress.org/reference/functions/get_user_option/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/get_user_option/#uses)
   | Source: [wp-includes/user.php:753](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L753-L790)
 * function[wp_authenticate_username_password()](https://developer.wordpress.org/reference/functions/wp_authenticate_username_password/)
 * Authenticates a user, confirming the username and password are valid.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_username_password/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_username_password/#uses)
   | Source: [wp-includes/user.php:153](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L153-L229)
 * hook[wp_authenticate_user](https://developer.wordpress.org/reference/hooks/wp_authenticate_user/)
 * Filters whether the given user can be authenticated with the provided password.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/wp_authenticate_user/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_authenticate_user/#uses)
   | Source: [wp-includes/user.php:203](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L203-L203)
 * function[wp_authenticate_cookie()](https://developer.wordpress.org/reference/functions/wp_authenticate_cookie/)
 * Authenticates the user using the WordPress auth cookie.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_cookie/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_cookie/#uses)
   | Source: [wp-includes/user.php:326](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L326-L358)
 * function[get_user_count()](https://developer.wordpress.org/reference/functions/get_user_count/)
 * Returns the number of active users in your installation.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/get_user_count/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_user_count/#uses)
   | Source: [wp-includes/user.php:1461](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L1461-L1475)

 [Previous Page](https://developer.wordpress.org/reference/package/users/page/9/?output_format=md)

[1](https://developer.wordpress.org/reference/package/users/?output_format=md) …
[8](https://developer.wordpress.org/reference/package/users/page/8/?output_format=md)
[9](https://developer.wordpress.org/reference/package/users/page/9/?output_format=md)
10