LLMS_Generator_Courses::generate_course( array $raw )

Generator called for single course imports


Description Description

Converts the single course into a format that can be handled by the bulk courses generator and invokes that generator.


Parameters Parameters

$raw

(Required) Raw data array.


Top ↑

Return Return

(int|null) WP_Post ID of the generated course or null 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. Returns an int on success.
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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