PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.5.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.5.2
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 / includes / Editors / BlockEditor / Blocks / BetterdocsPrint.php

BetterdocsPrint.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.5.2, at includes/Editors/BlockEditor/Blocks/BetterdocsPrint.php

34 lines 656 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WPDeveloper\BetterDocs\Editors\BlockEditor\Blocks;
4
5 use WPDeveloper\BetterDocs\Editors\BlockEditor\Block;
6
7 class BetterdocsPrint extends Block {
8 protected $editor_styles = [
9 'betterdocs-single'
10 ];
11
12 protected $frontend_styles = [
13 'betterdocs-single'
14 ];
15
16 protected $frontend_scripts = [
17 'betterdocs'
18 ];
19
20 public function get_name() {
21 return 'betterdocs-print';
22 }
23
24 public function get_default_attributes() {
25 return [
26 'blockId' => ''
27 ];
28 }
29
30 public function render($attributes, $content) {
31 $this->views('widgets/print-icon');
32 }
33 }
34