| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/betterdocs/ |
Upload File : |
<?php
/**
* Plugin Name: BetterDocs
* Plugin URI: https://betterdocs.co/
* 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.
* Version: 3.0.1
* Author: WPDeveloper
* Author URI: https://wpdeveloper.com
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: betterdocs
* Domain Path: /languages
*/
// If this file is called directly, abort.
defined( 'ABSPATH' ) || exit;
define( 'BETTERDOCS_PLUGIN_FILE', __FILE__ );
require_once __DIR__ . '/includes/v2x-compatibility.php';
require_once __DIR__ . '/vendor/autoload.php';
// register_block_pattern(
// 'betterdocs/doc-category-archive',
// array(
// 'title' => __( 'Doc Category Archive', 'textdomain' ),
// 'description' => _x( 'This is my first block pattern', 'Block pattern description', 'textdomain' ),
// 'content' => '<!-- wp:paragraph --><p>A Simple Doc Category Archive</p><!-- /wp:paragraph -->',
// 'categories' => array( 'text' ),
// 'keywords' => array( 'cta', 'demo', 'example' ),
// 'viewportWidth' => 800,
// )
// );
/**
* Intiate the BetterDocs Plugin
*
* @since 2.5.0
* @return \WPDeveloper\BetterDocs\Plugin
*/
function betterdocs() {
/**
* Remove PRO Functionalities if pro is not updated.
*/
if( ! function_exists('betterdocs_pro') ){
remove_action( 'betterdocs_init', 'run_betterdocs_pro' );
}
return \WPDeveloper\BetterDocs\Plugin::get_instance();
}
/**
* Initialize BetterDocs (Free)
* Here, begins the execution of the plugin.
*
* Returns the main instance of BetterDocs.
*
* @since 3.0
* @return \WPDeveloper\BetterDocs\Plugin
*/
betterdocs();