# betterdocs/4.9.3/views/shortcode-parts/faq-content.php

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

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/shortcode-parts/faq-content.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.3/raw/views/shortcode-parts/faq-content.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/shortcode-parts/faq-content.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>
<div class="betterdocs-faq-main-content"<?php echo $faq_toggle ? ' style="display:block;"' : ''; ?>>
	<?php
	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- intentional WP core filter integration to render FAQ content.
	echo wp_kses_post( apply_filters( 'the_content', get_the_content() ) );
	?>
</div>

```
