| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | /** |
| 4 | 4 | * Plugin Name: BetterDocs |
| 5 | 5 | * Plugin URI: https://betterdocs.co/ |
| 6 | 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.5.0 | |
| 7 | + * Version: 4.2.6 | |
| 8 | 8 | * Author: WPDeveloper |
| 9 | 9 | * Author URI: https://wpdeveloper.com |
| 10 | 10 | * License: GPL-3.0+ |
| 11 | 11 | * License URI: http://www.gnu.org/licenses/gpl-3.0.txt |
| @@ -22,8 +22,9 @@ | ||
| 22 | 22 | |
| 23 | 23 | require_once __DIR__ . '/includes/v2x-compatibility.php'; |
| 24 | 24 | require_once __DIR__ . '/vendor/autoload.php'; |
| 25 | 25 | |
| 26 | + | |
| 26 | 27 | /** |
| 27 | 28 | * Initiate the BetterDocs Plugin |
| 28 | 29 | * |
| 29 | 30 | * @return Plugin |
| @@ -29,16 +30,16 @@ | ||
| 29 | 30 | * @return Plugin |
| 30 | 31 | * @since 2.5.0 |
| 31 | 32 | */ |
| 32 | 33 | function betterdocs(): Plugin { |
| 33 | - /** | |
| 34 | - * Remove PRO Functionalities if pro is not updated. | |
| 35 | - */ | |
| 36 | - if ( ! function_exists( 'betterdocs_pro' ) ) { | |
| 37 | - remove_action( 'betterdocs_init', 'run_betterdocs_pro' ); | |
| 38 | - } | |
| 34 | + /** | |
| 35 | + * Remove PRO Functionalities if pro is not updated. | |
| 36 | + */ | |
| 37 | + if ( ! function_exists( 'betterdocs_pro' ) ) { | |
| 38 | + remove_action( 'betterdocs_init', 'run_betterdocs_pro' ); | |
| 39 | + } | |
| 39 | 40 | |
| 40 | - return Plugin::get_instance(); | |
| 41 | + return Plugin::get_instance(); | |
| 41 | 42 | } |
| 42 | 43 | |
| 43 | 44 | /** |
| 44 | 45 | * Initialize BetterDocs (Free) |