learndash_set_primary_course_for_step

learndash_set_primary_course_for_step( integer $step_id,  $course_id )

Set primary course_id for course step.


Description #


Parameters #

$step_id

(integer) (Required) Course step post ID.


Return #

(integer) $course_id Primary Course ID if found.


Source #

File: includes/course/ld-course-functions.php


Changelog #

Changelog
Version Description
3.2 Introduced.