LLMS_Admin_Setup_Wizard::get_completed_url( int[] $course_ids )
Retrieve the redirect URL to use after an import is complete at the conclusion of the wizard
Description Description
If a single course is imported, redirects to that course’s edit page, otherwise redirects to the course post table list sorted by created date with the most recent courses first.
Parameters Parameters
- $course_ids
-
(int[]) (Required) WP_Post IDs of the course(s) generated during the import.
Return Return
(string)
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
*/
public function output_after_importable_course( array $course ): void {
echo '</label>';
}
/**
* Retrieve the redirect URL to use after an import is complete at the conclusion of the wizard.
*
* If a single course is imported, redirects to that course's edit page, otherwise redirects
* to the course post table list sorted by created date with the most recent courses first.
*
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.8.0 | Introduced. |