Browse: Home / Hooks /


apply_filters( 'learndash_get_label_course_step_back',  string $step_label,  string $step_post_type,  boolean $plural )

Filters value of course step back label. Used to update step back label in learndash_get_label_course_step_back function.

Description #

Parameters #


(string) Course Step Back to ... label.


(string) The post_type slug of the post to return label for.


(boolean) True if the label should be the plural label.

Source #

File: includes/class-ld-custom-label.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_get_label_course_step_back filter.
	function( $step_label, $step_post_type, $plural ) {
		// May add any custom logic using $step_label, $step_post_type, $plural.

		// Always return $step_label.
		return $step_label;