learndash_get_course_price

apply_filters( 'learndash_get_course_price',  array $course_price )

Filters price details for a course.


Description #


Parameters #

$course_price

(array) Course price details.


Source #

File: themes/ld30/includes/helpers.php


Examples #

 <?php
/**
 * Example usage for learndash_get_course_price filter.
 */
add_filter(
	'learndash_get_course_price',
	function( $course_price ) {
		// May add any custom logic using $course_price.

		// Always return $course_price.
		return $course_price;
	}
);