[memb_lms_lesson_breadcrumb]

Description

Builds the breadcrumb path from the current post type:

  • Course: a single crumb (the course title).
  • Module: course link, then the module title.
  • Lesson: course link, module link (when parented to one), then the lesson title.

Renders nothing outside course/module/lesson post types.

The HTML this shortcode renders comes from a template you can override in your theme. See Shortcode Templates.

Shortcode Examples

[memb_lms_lesson_breadcrumb]

Shortcode Parameters

This shortcode accepts no parameters.

Shortcode Attributes

Attribute Value
Conditional No
Nestable No
Accepts formatting No

Hooks

wpal/torii/sushi_lms/lesson_breadcrumb_before and lesson_breadcrumb_after (actions) wrap the breadcrumb output.