# betterdocs/4.9.2/views/templates/parts/title.php

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

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.2/code/views/templates/parts/title.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.2/raw/views/templates/parts/title.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.2/code/views/templates/parts/title.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
$tag = betterdocs()->template_helper->is_valid_tag( $tag );

echo wp_kses_post(
	'<' . $tag . ' class="betterdocs-entry-title" id="betterdocs-entry-title">' . get_the_title() . '</' . $tag . '>'
);

```
