Skip to main content

Post Field Connections

Post Field Connections

These connections work on any LearnDash post type — courses, lessons, topics, and quizzes.

Post Content

Retrieves the body content of the current LearnDash post.

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

SettingDescriptionDefault
dripReplace content with a message when the post is not yet drip-available.false
drip_textCustom message to show when content is drip-locked.LearnDash default
drip_redirectRedirect URL when content is drip-locked.

Drip Date

Retrieves the date this post becomes available to the current user under a drip schedule.

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

SettingDescriptionDefault
formatPHP date format string for the output.Site default date format

Example: [wpbb post:bdash_drip_date format='F j, Y']

Drip Is Future

True when this post is scheduled for future release and is not yet available.

Key: bdash_drip_future | Usage: [wpbb-if post:bdash_drip_future]...[/wpbb-if]

Drip Is Past

True when this post's drip date has passed and it is now available.

Key: bdash_drip_past | Usage: [wpbb-if post:bdash_drip_past]...[/wpbb-if]

No Drip

True when this post has no drip schedule set.

Key: bdash_no_drip | Usage: [wpbb-if post:bdash_no_drip]...[/wpbb-if]

User Can Progress

True when the current user is able to progress past this post (e.g. video watched, timer completed).

Key: bdash_can_progress | Usage: [wpbb-if post:bdash_can_progress]...[/wpbb-if]

User Cannot Progress

True when the current user cannot yet progress past this post.

Key: bdash_cannot_progress | Usage: [wpbb-if post:bdash_cannot_progress]...[/wpbb-if]

User Has Access

True when the current user has access to this post.

Key: bdash_available | Usage: [wpbb-if post:bdash_available]...[/wpbb-if]

User Does Not Have Access

True when the current user does not have access to this post.

Key: bdash_unavailable | Usage: [wpbb-if post:bdash_unavailable]...[/wpbb-if]

Has Video

True when this post has a video URL set.

Key: bdash_has_video | Usage: [wpbb-if post:bdash_has_video]...[/wpbb-if]

Video Progression Enabled

True when video progression is required on this post (the learner must watch the video before progressing).

Key: bdash_video_progression_enabled | Usage: [wpbb-if post:bdash_video_progression_enabled]...[/wpbb-if]

Background Color

Retrieves the background color assigned to this post in LearnDash settings. Requires LearnDash 3.0+.

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

Text Color

Retrieves the text color assigned to this post in LearnDash settings. Requires LearnDash 3.0+.

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