PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.1.0
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.1.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 / betterdocs.php

betterdocs.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.1.0, at betterdocs.php

64 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: BetterDocs
5 * Plugin URI: https://betterdocs.co/
6 * Description: Create stunning Knowledge base for your WordPress website and reduce support pressure with the help of BetterDocs. Get access to amazing templates and create fully customizable KB within minutes.
7 * Version: 3.1.0
8 * Author: WPDeveloper
9 * Author URI: https://wpdeveloper.com
10 * License: GPL-3.0+
11 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12 * Text Domain: betterdocs
13 * Domain Path: /languages
14 */
15
16 // If this file is called directly, abort.
17 defined( 'ABSPATH' ) || exit;
18
19 define( 'BETTERDOCS_PLUGIN_FILE', __FILE__ );
20
21 require_once __DIR__ . '/includes/v2x-compatibility.php';
22 require_once __DIR__ . '/vendor/autoload.php';
23
24 // register_block_pattern(
25 // 'betterdocs/doc-category-archive',
26 // array(
27 // 'title' => __( 'Doc Category Archive', 'textdomain' ),
28 // 'description' => _x( 'This is my first block pattern', 'Block pattern description', 'textdomain' ),
29 // 'content' => '<!-- wp:paragraph --><p>A Simple Doc Category Archive</p><!-- /wp:paragraph -->',
30 // 'categories' => array( 'text' ),
31 // 'keywords' => array( 'cta', 'demo', 'example' ),
32 // 'viewportWidth' => 800,
33 // )
34 // );
35
36 /**
37 * Intiate the BetterDocs Plugin
38 *
39 * @since 2.5.0
40 * @return \WPDeveloper\BetterDocs\Plugin
41 */
42 function betterdocs() {
43 /**
44 * Remove PRO Functionalities if pro is not updated.
45 */
46 if( ! function_exists('betterdocs_pro') ){
47 remove_action( 'betterdocs_init', 'run_betterdocs_pro' );
48 }
49
50 return \WPDeveloper\BetterDocs\Plugin::get_instance();
51 }
52
53 /**
54 * Initialize BetterDocs (Free)
55 * Here, begins the execution of the plugin.
56 *
57 * Returns the main instance of BetterDocs.
58 *
59 * @since 3.0
60 * @return \WPDeveloper\BetterDocs\Plugin
61 */
62
63 betterdocs();
64