LLMS_Generator_Courses::clone_lesson( array $raw )

Generator called when cloning a lesson


Description Description


Parameters Parameters

$raw

(Required) Raw data array.


Top ↑

Return Return

(int|WP_Error) WP_Post ID of the created lesson on success and an error object on failure.


Top ↑

Source Source

File: includes/class-llms-generator-courses.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Moved from LLMS_Generator and made public instead of private.
4.13.0 Use setup_raw_for_clone() to normalize the
3.14.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.