PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 1.7.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v1.7.3
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 / elementor / docs-page.php

docs-page.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 1.7.3, at includes/elementor/docs-page.php

39 lines 585 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ElementorPro\Modules\Woocommerce\Conditions;
4
5 use ElementorPro\Modules\ThemeBuilder as ThemeBuilder;
6
7 if (!defined('ABSPATH')) {
8 exit; // Exit if accessed directly
9 }
10
11 class Docs_Page extends ThemeBuilder\Conditions\Condition_Base
12 {
13
14 public static function get_type()
15 {
16 return 'archive';
17 }
18
19 public function get_name()
20 {
21 return 'docs_page';
22 }
23
24 public static function get_priority()
25 {
26 return 40;
27 }
28
29 public function get_label()
30 {
31 return __('Docs Page', 'elementor-pro');
32 }
33
34 public function check($args)
35 {
36 return is_post_type_archive('docs');
37 }
38 }
39