LLMS_Post_Instructors
LLMS_Post_Instructors class
Description Description
Allow interactions with the custom multi-author functionality currently enabled for Courses and Memberships only.
Rather than instantiating this class directly you should use LLMS_Course->instructors() or LLMS_Membership()->instructors()
Source Source
File: includes/models/model.llms.post.instructors.php
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Normalized return structure in get_instructors() when no instructor set. |
4.0.0 | Remove deprecated method get_defaults() . |
3.30.3 | Explicitly define class properties. |
3.13.0 | Introduced. |
Methods Methods
- __construct — Constructor
- get_instructors — Retrieve course instructor information
- pre_set_instructors — Format an instructors array for saving to the db.
- set_instructors — Save instructor information