LLMS_Abstract_User_Data
LifterLMS User Data Abstract class
Description Description
Source Source
File: includes/abstracts/llms.abstract.user.data.php
Changelog Changelog
Version | Description |
---|---|
4.2.0 | The get_id() always returns an int. |
3.9.0 | |
3.34.0 | Allow user_url to be retrieved by get() . |
3.17.0 | Introduced. |
Methods Methods
- __construct — Constructor
- __get — Magic Getter for User Data
- cache_delete — Delete an item from the cache
- cache_get — Retrieve an item from the cache
- cache_set — Add an item to the cache cache
- exists — Determine if the user exists
- get — Allows direct access to WP_User object for retrieving user data from the user or usermeta tables
- get_cache_group — Retrieve the group name used by cache functions
- get_id — Retrieve the user id
- get_student — Allow extending classes to access the main student class
- get_user — Retrieve the instance of the WP User for the student
- get_user_id — Retrieve the User ID based on object
- set — Update a meta property for the user