Course Field Connections
Course Field Connections
Course Title
Retrieves the title of a LearnDash course.
Key: bdash_course_title | Usage: [wpbb post:bdash_course_title]
| Setting | Description | Default |
|---|---|---|
target_post | Which post’s title to use: current or a specific post ID. | current |
course_id | Course ID when targeting a specific course. | — |
Course Content
Retrieves the main body content of a LearnDash course.
Key: bdash_course_content | Usage: [wpbb post:bdash_course_content]
| Setting | Description | Default |
|---|---|---|
target_post | Which post’s content to use: current or a specific post ID. | current |
course_id | Course ID when targeting a specific course. | — |
Course Description
Retrieves the excerpt or summary of a LearnDash course.
Key: bdash_course_description | Usage: [wpbb post:bdash_course_description]
Featured Image
Retrieves the featured image of the current course.
Key: bdash_image | Usage: [wpbb post:bdash_image]
Featured Video
Retrieves the featured video of the current course.
Key: bdash_video | Usage: [wpbb post:bdash_video]
Featured Video with Image Fallback
Retrieves the featured video if set; falls back to the featured image if not.
Key: bdash_video_or_image | Usage: [wpbb post:bdash_video_or_image]
Course Navigation
Renders the full course outline — lessons, topics, and quizzes — with completion status icons.
Key: bdash_course_navigation | Usage: [wpbb post:bdash_course_navigation]
| Setting | Description | Default |
|---|---|---|
expand | Default expand state: all, current, or collapse. | all |
highlight_current_page | Highlight the item matching the current page. | true |
Course Progress Bar
Renders a visual progress bar for a LearnDash course.
Key: bdash_course_progress | Usage: [wpbb post:bdash_course_progress]
| Setting | Description | Options | Default |
|---|---|---|---|
shape | Display style. | line, circle, semi-circle, text, raw, default | line |
text_color | Progress label color (hex, no #). | e.g. 555555 | — |
Course Expire Status
Retrieves expiry information for a LearnDash course — whether it has an expiry date and whether access is still active.
Key: bdash_course_expire_status | Usage: [wpbb post:bdash_course_expire_status]
| Setting | Description | Default |
|---|---|---|
target_post | Which post to check. | current |
course_id | Specific course ID. | — |
user_id | Specific user ID. | Current user |
label_before | Text to prepend to the expiry date. | — |
label_after | Text to append to the expiry date. | — |
format | PHP date format for the expiry date. | Site default |
Course Date Completed
Retrieves the date the current user completed this course.
Key: bdash_course_user_date_completed | Usage: [wpbb post:bdash_course_user_date_completed]
Course Started
True when the current user has started this course.
Key: bdash_course_started | Usage: [wpbb-if post:bdash_course_started]...[/wpbb-if]
Course In Progress
True when the current user has started but not yet completed this course.
Key: bdash_course_in_progress | Usage: [wpbb-if post:bdash_course_in_progress]...[/wpbb-if]
Course Completed
True when the current user has completed this course.
Key: bdash_course_completed | Usage: [wpbb-if post:bdash_course_completed]...[/wpbb-if]
Course Has Certificate
True when this course has a certificate configured.
Key: bdash_course_has_certificate | Usage: [wpbb-if post:bdash_course_has_certificate]...[/wpbb-if]
Course Points Enabled
True when course points are enabled for this course.
Key: bdash_course_points_enabled | Usage: [wpbb-if post:bdash_course_points_enabled]...[/wpbb-if]
Hide Content Table Enabled
True when the "Hide course content table" setting is enabled for this course.
Key: bdash_hide_course_content_table | Usage: [wpbb-if post:bdash_hide_course_content_table]...[/wpbb-if]
Lesson Progression Enabled
True when lesson progression is enforced for this course (learners must complete lessons in order).
Key: bdash_lesson_progression_enabled | Usage: [wpbb-if post:bdash_lesson_progression_enabled]...[/wpbb-if]
The following field connections are only available when LearnDash 3.0 or later is installed and active.
Background Color
Retrieves the background color assigned to this course in LearnDash settings.
Key: bdash_course_color_background | Usage: [wpbb post:bdash_course_color_background]
Text Color
Retrieves the text color assigned to this course in LearnDash settings.
Key: bdash_course_color_text | Usage: [wpbb post:bdash_course_color_text]
Course Price
Retrieves the price of this course as configured in LearnDash settings.
Key: bdash_course_price | Usage: [wpbb post:bdash_course_price]
| Setting | Description | Options | Default |
|---|---|---|---|
output | Output format. | text (formatted price string) | text |
Course Price Status
Retrieves the pricing model for this course: Free, Pay Once, Subscribe, or Closed.
Key: bdash_course_price_type_label | Usage: [wpbb post:bdash_course_price_type_label]
Course Price Currency
Retrieves the currency used for this course’s pricing.
Key: bdash_course_price_currency | Usage: [wpbb post:bdash_course_price_currency]
| Setting | Description | Options | Default |
|---|---|---|---|
output | Return currency code (e.g. USD) or symbol (e.g. $). | code / symbol | code |
Course Price Interval
Retrieves the billing interval for subscription-priced courses (e.g. monthly, yearly).
Key: bdash_course_price_interval | Usage: [wpbb post:bdash_course_price_interval]
Course Price Frequency
Retrieves how often the subscription is charged (e.g. "1 month").
Key: bdash_course_price_frequency | Usage: [wpbb post:bdash_course_price_frequency]
Course Price Custom URL
Retrieves the custom checkout URL configured for this course in LearnDash settings.
Key: bdash_course_price_url | Usage: [wpbb post:bdash_course_price_url]