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

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

- Page: https://pluginprobe.com/plugins/betterdocs/3.5.3/code/views/templates/parts/title.php
- Raw: https://pluginprobe.com/plugins/betterdocs/3.5.3/raw/views/templates/parts/title.php
- Modified: 2023-08-14T08:41:14+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/3.5.3/code/views/templates/parts/title.php#L10-L20`.

```php
<?php
$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 . '>'
);

```
