Skip to main content

Breadcrumbs — functions

2 public functions. 0 are 🔌 pluggable (function_exists()-guarded, so a theme/child can override them).

FunctionSummary
fw_ext_breadcrumbsDisplays the breadcrumbs HTML.
fw_ext_get_breadcrumbsReturns the breadcrumbs HTML.

fw_ext_breadcrumbs

fw_ext_breadcrumbs( $args = [] )

Displays the breadcrumbs HTML.

ParameterTypeDescription
$argsstring|arraySee fw_ext_get_breadcrumbs().

Source: framework/extensions/breadcrumbs/helpers.php:31

fw_ext_get_breadcrumbs

fw_ext_get_breadcrumbs( $args = [] )

Returns the breadcrumbs HTML.

arguments accepted by FW_Extension_Breadcrumbs::render() (separator, prefix, home_icon, link_last, show_home, show_on_front, truncate, post_taxonomy, show_post_type_archive, schema, container_class).

ParameterTypeDescription
$argsstring|arraySeparator string (back-compat) or an array of

Returns string

Source: framework/extensions/breadcrumbs/helpers.php:16

← Back to Functions overview