PluginProbe ʕ •ᴥ•ʔ
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.13
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.13
6.1.1 6.1.0 6.0.14 6.0.13 6.0.12 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 4.0.19 4.0.20 4.0.21 4.0.22 4.0.23 4.0.24 4.1 4.2.0 5.0.0 5.1.0 5.1.1 5.2.0 5.2.1 5.2.2 5.2.3 6.0.0 trunk 3.0.40 3.0.41 3.0.42 3.0.43 3.0.44 3.0.45 3.1.0 3.1.1 3.1.2
kirki / kirki.php
kirki Last commit date
ComponentLibrary 4 weeks ago app 2 weeks ago assets 2 weeks ago bootstrap 2 weeks ago config 2 weeks ago customizer 2 weeks ago database 2 weeks ago includes 2 weeks ago languages 2 weeks ago libraries 2 weeks ago routes 2 weeks ago vendor 2 weeks ago config.php 2 weeks ago kirki.php 2 weeks ago readme.txt 2 weeks ago
kirki.php
78 lines
1 <?php
2 /* THIS_FILE_IS_FREE */
3 /**
4 * Kirki
5 *
6 * @package kirki
7 * Plugin Name: Kirki
8 * Plugin URI: https://kirki.com
9 * Description: Kirki is an all-in-one no-code builder that empowers users to build professional-grade WordPress sites without writing any code. It’s a promising glimpse into the future of website development.
10 * Version: 6.0.13
11 * Author: Kirki
12 * Author URI: https://kirki.com
13 * License: GPLv2 or later
14 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
15 * Text Domain: kirki
16 * Domain Path: /languages
17 * Requires at least: 5.9
18 * Requires PHP: 7.4
19 */
20
21 use Kirki\HelperFunctions;
22
23 if (!defined('ABSPATH')) {
24 exit; // Exit if accessed directly.
25 }
26
27 // Define KIRKI_VERSION early to prevent bundled Kirki versions from loading.
28 if ( ! defined( 'KIRKI_VERSION' ) ) {
29 define( 'KIRKI_VERSION', '6.0.13' );
30 }
31
32 require_once plugin_dir_path( __FILE__ ) . 'config.php';
33 require_once __DIR__ . '/vendor/autoload.php';
34 require_once __DIR__ . '/customizer/class-customizer.php';
35 require_once __DIR__ . '/includes/KirkiBase.php';
36
37 do_action( 'kirki_loaded' );
38
39 if ( !class_exists('KirkiMain') && !class_exists('Droip') ) {
40 final class KirkiMain extends KirkiBase
41 {
42 protected function get_plugin_file(){
43 return __FILE__;
44 }
45
46 protected function load_version_specific_events(){
47 // TODO: This method will be removed in future version
48 }
49 }
50
51 /**
52 * Initilizes the main plugin
53 *
54 * @return \Kirki
55 */
56 if (!function_exists('KirkiMain')) {
57 /**
58 * This function for entry point
59 */
60 function KirkiMain()
61 {
62 return KirkiMain::init();
63 }
64
65 try {
66 // kick-off the plugin.
67 KirkiMain();
68 } catch (Exception $e) {
69 }
70 }
71 }
72
73 add_action('init', 'kirki_boot_application', 0);
74
75 function kirki_boot_application()
76 {
77 require_once KIRKI_PLUGIN_PATH . '/bootstrap/app.php';
78 }