astra_get_breadcrumb( boolean $echo = true )

Astra Get Breadcrumb


Description

Gets the basic Breadcrumb wrapper div & content


Parameters

$echo

(boolean) (Optional) Whether to echo or not.

Default value: true


Return

(string)


Source

File: inc/addons/breadcrumbs/class-astra-breadcrumb-trail.php

function astra_get_breadcrumb( $echo = true ) {

	if ( ! $echo ) {
		return '<div class="ast-breadcrumbs-wrapper">
			<div class="ast-breadcrumbs-inner">' .
				astra_get_selected_breadcrumb( $echo ) .
			'</div>
		</div>';
	}

	?>
	<div class="ast-breadcrumbs-wrapper">
		<div class="ast-breadcrumbs-inner">
			<?php astra_get_selected_breadcrumb( $echo ); ?>
		</div>
	</div>
	<?php

}

Changelog

Changelog
Version Description
1.8.1 Introduced.


User Contributed Notes

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