learndash_get_course_price( int|object|null $course = null )
Gets the course price.
Description Description
Return an array of price type, amount and cycle.
Parameters Parameters
- $course
-
(Optional) Course
WP_Post
object or post ID. Default to global $post.Default value: null
Return Return
(array) Course price details.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |