# betterdocs/4.9.3/views/widgets/sticky-toc-block.php

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.9.3. 10 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/widgets/sticky-toc-block.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.3/raw/views/widgets/sticky-toc-block.php
- Modified: 2026-06-23T11:52:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/widgets/sticky-toc-block.php#L10-L20`.

```php
<?php


if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
echo '<div class="sticky-toc-block-wrapper ' . esc_attr( $blockId ) . '">';
betterdocs()->views->get( 'templates/parts/sticky-toc' );
echo '</div>';

```
