Browse: Home / Hooks /


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 #


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


(int) The step ID.


(int) The step course ID.


(int) The user ID.

Source #

File: themes/ld30/includes/helpers.php

Changelog #

Version Description
4.2.0 Introduced.