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


Top ↑

Return Return

(array) Course price details.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.