apply_filters( 'llms_generator_cloned_post_status', string $status , array $raw , LLMS_Generator $generator )
Filters the WP_Post status used for the duplicated post when cloning a course or lesson
Parameters Parameters
- $status
-
(string) The WP_Post status to use for the duplicate of the post. Default: "draft".
- $raw
-
(array) Raw data array passed into the generator.
- $generator
-
(LLMS_Generator) Generator instance.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Introduced. |