Changeset 59111
- Timestamp:
- 09/28/2024 11:07:00 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r58962 r59111 774 774 775 775 return delete_user_meta( $user_id, $option_name ); 776 } 777 778 /** 779 * Retrieves user info by user ID. 780 * 781 * @since 6.7 782 * 783 * @param int $user_id User ID. 784 * 785 * @return WP_User|false WP_User object on success, false on failure. 786 */ 787 function get_user( $user_id ) { 788 return get_user_by( 'id', $user_id ); 776 789 } 777 790
Note: See TracChangeset
for help on using the changeset viewer.