PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.8.0
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.8.0
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / views / widgets / content.php

content.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.8.0, at views/widgets/content.php

33 lines 543 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 if ( ! is_singular( 'docs' ) ) {
7 return;
8 }
9 ?>
10
11 <div
12 <?php echo $wrapper_attr; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
13 <?php
14 if ( isset( $widget_type ) && $widget_type != 'blocks' ) {
15 betterdocs()->views->get(
16 'templates/parts/print-icon',
17 [
18 'enable' => (bool) $enable
19 ]
20 );
21 }
22
23 // The Content For A Docs
24 $view_object->get(
25 'templates/parts/content',
26 [
27 'htags' => $htags,
28 'enable_toc' => $enable_toc
29 ]
30 );
31 ?>
32 </div>
33