learndash_get_breadcrumbs( int|WP_Post|null $post = null, array|false $args = false )
Gets the breadcrumbs hierarchy.
Description Description
Builds an array of breadcrumbs for the current LearnDash post.
Parameters Parameters
- $post
-
(Optional)
WP_Post
object. Default to global $post.Default value: null
- $args
-
(Optional) Arguments used to generate breadcrumbs. Default is false.
Default value: false
Return Return
(array) The hierarchy of breadcrumbs.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |