LLMS_Blocks_Post_Instructors
Handle course & membership instructors data.
Description Description
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-post-instructors.php
Changelog Changelog
Version | Description |
---|---|
1.7.1 | Fix Core 5.3 compatibility issues with the instructors rest field. |
1.6.0 | Automatically store course/membership instructor with post_author data when the post is created. |
1.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- authorize_callback — Meta field update authorization callback.
- get_callback — Retrieve instructor information for a give object.
- maybe_set_default_instructor — Automatically sets instructor data when a new course/membership is created.
- register_meta — Register custom meta fields.
- update_callback — Update instructor information for a given object.