learndash_get_course_price( int|object|null $course = null )
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.
Changelog #
Changelog
Version |
Description |
3.0.0 |
Introduced. |