PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.5.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.5.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
← All changes | betterdocs.php +8 -27 4.6.23.5.3 View file →
@@ -2,12 +2,10 @@
2 2
3 3 /**
4 4 * Plugin Name: BetterDocs
5 5 * Plugin URI: https://betterdocs.co/
6 - * Description: Create stunning Knowledge base & FAQs for your WordPress website and reduce support pressure with the help of BetterDocs. Get access to amazing templates and create fully customizable KB with AI Write.
7 - * Version: 4.6.2
8 - * Requires at least: 6.4
9 - * Requires PHP: 7.4
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 with AI Write.
7 + * Version: 3.5.3
10 8 * Author: WPDeveloper
11 9 * Author URI: https://wpdeveloper.com
12 10 * License: GPL-3.0+
13 11 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
@@ -15,10 +13,8 @@
15 13 * Domain Path: /languages
16 14 */
17 15
18 16 // If this file is called directly, abort.
19 -use WPDeveloper\BetterDocs\Plugin;
20 -
21 17 defined( 'ABSPATH' ) || exit;
22 18
23 19 define( 'BETTERDOCS_PLUGIN_FILE', __FILE__ );
24 20
@@ -24,39 +20,24 @@
24 20
25 21 require_once __DIR__ . '/includes/v2x-compatibility.php';
26 22 require_once __DIR__ . '/vendor/autoload.php';
27 23
28 -/**
29 - * Declare WooCommerce HPOS (custom order tables) compatibility. BetterDocs
30 - * never touches order storage, so this is a pure compatibility flag. Must run
31 - * on before_woocommerce_init — the Plugin bootstraps on `init`, which is too
32 - * late for WooCommerce to read the declaration.
33 - */
34 -add_action( 'before_woocommerce_init', function () {
35 - if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
36 - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
37 - 'custom_order_tables',
38 - BETTERDOCS_PLUGIN_FILE,
39 - true
40 - );
41 - }
42 -} );
43 24
44 25 /**
45 - * Initiate the BetterDocs Plugin
26 + * Intiate the BetterDocs Plugin
46 27 *
47 - * @return Plugin
48 28 * @since 2.5.0
29 + * @return \WPDeveloper\BetterDocs\Plugin
49 30 */
50 -function betterdocs(): Plugin {
31 +function betterdocs() {
51 32 /**
52 33 * Remove PRO Functionalities if pro is not updated.
53 34 */
54 - if ( ! function_exists( 'betterdocs_pro' ) ) {
35 + if( ! function_exists('betterdocs_pro') ){
55 36 remove_action( 'betterdocs_init', 'run_betterdocs_pro' );
56 37 }
57 38
58 - return Plugin::get_instance();
39 + return \WPDeveloper\BetterDocs\Plugin::get_instance();
59 40 }
60 41
61 42 /**
62 43 * Initialize BetterDocs (Free)
@@ -63,9 +44,9 @@
63 44 * Here, begins the execution of the plugin.
64 45 *
65 46 * Returns the main instance of BetterDocs.
66 47 *
67 - * @return Plugin
68 48 * @since 3.0
49 + * @return \WPDeveloper\BetterDocs\Plugin
69 50 */
70 51
71 52 betterdocs();