Browse: Home / Hooks /


apply_filters( 'learndash_no_price_price_label',  string $label )

Filters label to be displayed when there is no price set for a course or it is closed.

Description #

Parameters #


(string) The label displayed when there is no price.

Source #

File: themes/ld30/templates/modules/infobar/course.php

Examples #

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

 * Example usage for learndash_no_price_price_label filter.
	function( $label ) {
		// May add any custom logic using $label.

		// Always return $label.
		return $label;

Changelog #

Version Description
3.0.0 Introduced.