<?php
/**
 * File Path: templates/partials/breadcrumbs.php
 *
 * Breadcrumbs Partial
 *
 * Generates breadcrumbs for book pages, author taxonomy, series taxonomy, etc.
 * Fully respects license gate and escaping rules.
 *
 * @package MyBookShowroom
 * @since   1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! mbs_is_registered() ) {
	return;
}

echo '<div class="mbs-wrapper">';
echo MBS_Breadcrumbs::render(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- trusted renderer returns pre-escaped HTML
echo '</div>';
?>
