-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocumentation.php
More file actions
81 lines (79 loc) · 3.19 KB
/
documentation.php
File metadata and controls
81 lines (79 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* Plugin Name: Documentation
* Plugin URI: https://www.itthinx.com/plugins/documentation
* Description: A Documentation Management System.
* Version: 1.14.0
* Requires at least: 6.5
* Requires PHP: 7.4
* Author: itthinx
* Author URI: https://www.itthinx.com
* Donate-Link: https://www.itthinx.com/shop/
* License: GPLv3
*
* Copyright (c) 2013 - 2025 "kento" Karim Rahimpur www.itthinx.com
*
* This code is released under the GNU General Public License Version 3.
* The following additional terms apply to all files as per section
* "7. Additional Terms." See COPYRIGHT.txt and LICENSE.txt.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* All legal, copyright and license notices and all author attributions
* must be preserved in all files and user interfaces.
*
* Where modified versions of this material are allowed under the applicable
* license, modified version must be marked as such and the origin of the
* modified material must be clearly indicated, including the copyright
* holder, the author and the date of modification and the origin of the
* modified material.
*
* This material may not be used for publicity purposes and the use of
* names of licensors and authors of this material for publicity purposes
* is prohibited.
*
* The use of trade names, trademarks or service marks, licensor or author
* names is prohibited unless granted in writing by their respective owners.
*
* Where modified versions of this material are allowed under the applicable
* license, anyone who conveys this material (or modified versions of it) with
* contractual assumptions of liability to the recipient, for any liability
* that these contractual assumptions directly impose on those licensors and
* authors, is required to fully indemnify the licensors and authors of this
* material.
*
* This header and all notices must be kept intact.
*
* @author Karim Rahimpur
* @package documentation
* @since documentation 1.0.0
*/
if ( !defined( 'ABSPATH' ) ) {
exit;
}
define( 'DOCUMENTATION_CORE_VERSION', '1.14.0' );
define( 'DOCUMENTATION_PLUGIN_FILE', __FILE__ );
define( 'DOCUMENTATION_PLUGIN_DOMAIN', 'documentation' );
define( 'DOCUMENTATION_PLUGIN_URL', plugin_dir_url( DOCUMENTATION_PLUGIN_FILE ) );
if ( !defined( 'DOCUMENTATION_CORE_DIR' ) ) {
define( 'DOCUMENTATION_CORE_DIR', WP_PLUGIN_DIR . '/documentation' );
}
if ( !defined( 'DOCUMENTATION_CORE_LIB' ) ) {
define( 'DOCUMENTATION_CORE_LIB', DOCUMENTATION_CORE_DIR . '/lib/core' );
}
if ( !defined( 'DOCUMENTATION_ADMIN_LIB' ) ) {
define( 'DOCUMENTATION_ADMIN_LIB', DOCUMENTATION_CORE_DIR . '/lib/admin' );
}
if ( !defined( 'DOCUMENTATION_VIEWS_LIB' ) ) {
define( 'DOCUMENTATION_VIEWS_LIB', DOCUMENTATION_CORE_DIR . '/lib/views' );
}
if ( !defined( 'DOCUMENTATION_EXT_LIB' ) ) {
define( 'DOCUMENTATION_EXT_LIB', DOCUMENTATION_CORE_DIR . '/lib/ext' );
}
if ( !defined( 'DOCUMENTATION_CORE_URL' ) ) {
define( 'DOCUMENTATION_CORE_URL', WP_PLUGIN_URL . '/documentation' );
}
require_once DOCUMENTATION_CORE_LIB . '/class-documentation-controller.php';