Browse: Home / Functions /

learndash_get_primary_course_for_step

learndash_get_primary_course_for_step( integer $step_id )

Get 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-steps-functions.php


Changelog #

Changelog
Version Description
3.2.0 Introduced.