Can I provide a user’s user_ID to them and can it also be searchable in a member’s directory
This will give the user id of the currently logged in user: $current_user_id = get_current_user_id(); User IDs are assigned sequentially (normally) when a user is created in WP admin (or by a process that creates the user ID programmatically). But be aware that the user ID can be abused. For instance, one could query your … Read more