Browse: Home / Functions /


learndash_get_course_step_attributes( int $step_id,  int $course_id,  int $user_id )

Gets the course step attributes.

Description #

Populates an array of attributes about the step, if it’s a sample or if it isn’t currently available

Parameters #


(int) (Required) Post ID.


(int) (Optional) Course ID.


(int) (Optional) User ID.

Return #

(array) Attributes including label, icon and class name.

Source #

File: themes/ld30/includes/helpers.php

Changelog #

Version Description
4.2.0 Introduced.