Skip to main content

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]

SettingDescriptionDefault
target_postWhich post’s title to use: current or a specific post ID.current
course_idCourse 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]

SettingDescriptionDefault
target_postWhich post’s content to use: current or a specific post ID.current
course_idCourse 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]

Retrieves the featured image of the current course.

Key: bdash_image | Usage: [wpbb post:bdash_image]

Retrieves the featured video of the current course.

Key: bdash_video | Usage: [wpbb post:bdash_video]

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]

SettingDescriptionDefault
expandDefault expand state: all, current, or collapse.all
highlight_current_pageHighlight 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]

SettingDescriptionOptionsDefault
shapeDisplay style.line, circle, semi-circle, text, raw, defaultline
text_colorProgress 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]

SettingDescriptionDefault
target_postWhich post to check.current
course_idSpecific course ID.
user_idSpecific user ID.Current user
label_beforeText to prepend to the expiry date.
label_afterText to append to the expiry date.
formatPHP 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]

Requires LearnDash 3.0+

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]

SettingDescriptionOptionsDefault
outputOutput 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]

SettingDescriptionOptionsDefault
outputReturn currency code (e.g. USD) or symbol (e.g. $).code / symbolcode

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]