Browse: Home / Hooks /

learndash_course_step_attributes_show_sample

apply_filters( 'learndash_course_step_attributes_show_sample',  bool $show_sample,  int $step_id,  int $course_id,  int $user_id )

Filters attributes of the step. Used to modify details about a lesson like label, icon and class name


Description #


Parameters #

$show_sample

(bool) True to show sample attributes. Default is false.

$step_id

(int) The step ID.

$course_id

(int) The step course ID.

$user_id

(int) The user ID.


Source #

File: themes/ld30/includes/helpers.php


Changelog #

Changelog
Version Description
4.2.0 Introduced.