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


Top ↑

Return Return

(array) The hierarchy of breadcrumbs.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.