LLMS_Generator_Courses::clone_course( array $raw )
Generator called when cloning a course
Parameters Parameters
- $raw
-
(array) (Required) Raw course data array.
Return Return
(int|null) WP_Post ID of the generated course or null
on failure.
Source Source
File: includes/class-llms-generator-courses.php
public function clone_course( $raw ) { return $this->generate_course( $this->setup_raw_for_clone( $raw ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Introduced. |