Learndash_Admin_Import_Associations_Handler
Class LearnDash Admin Import Associations Handler.
Description #
Source #
File: includes/admin/classes-import-export/import/class-learndash-admin-import-associations-handler.php
Changelog #
Version | Description |
---|---|
4.3.0 | Introduced. |
Methods #
- __construct — Constructor.
- get_imported_post_ids — Returns imported post IDs by post type.
- handle — Updates associations that we could not match in importers.
- update_assignments — Updates assignments' authors. Deletes an assignment if a new author ID was not found.
- update_coupons — Updates coupons.
- update_courses — Updates courses.
- update_essays — Updates essays' authors. Deletes an essay if a new author ID was not found.
- update_exams — Updates exams.
- update_groups — Updates groups.
- update_lessons — Updates lessons.
- update_post_authors — Assigns post authors where possible. Deletes essay and assignment posts if the author is not found.
- update_quizzes — Updates quizzes.
- update_setting — Updates the post setting.
- update_shared_steps_associations — Updates metas related to shared steps.
- update_topics — Updates topics.
- update_transactions — Updates transactions.
- update_users — Updates users' progress.