apply_filters( 'learndash_get_course_price', array $course_price )
Filters price details for a course.
Description #
Parameters #
- $course_price
-
(array) Course price details.
Source #
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; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |