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