LLMS_Abstract_User_Data::get_user_id( mixed $user )
Retrieve the User ID based on object
Description Description
Parameters Parameters
- $user
-
(Required) WP_User ID, instance of WP_User, or instance of any student class extending this class
Return Return
(mixed) int if a user id can be found, otherwise false
Source Source
File: includes/abstracts/llms.abstract.user.data.php
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |