PluginProbe
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.10
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.10
6.3.0 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 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 All 56 releases
kirki / kirki.php
kirki.php
72 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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.10
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.10' );
30 }
31
32
33 if ( ! class_exists( 'KirkiProMain' ) && ! class_exists( 'KirkiMain' ) && ! class_exists( 'Droip' ) ) {
34 require_once __DIR__ . '/vendor/autoload.php';
35 require_once __DIR__ . '/customizer/class-customizer.php';
36 require_once __DIR__ . '/includes/KirkiBase.php';
37
38 if (!defined('KIRKI_PLUGIN_FILE')) {
39 define('KIRKI_PLUGIN_FILE', plugin_dir_path(__FILE__) . 'kirki.php');
40 }
41
42 final class KirkiMain extends KirkiBase {
43
44 protected function get_plugin_file() {
45 return __FILE__;
46 }
47
48 protected function load_version_specific_events() {
49 }
50 }
51
52 /**
53 * Initilizes the main plugin
54 *
55 * @return \Kirki
56 */
57 if ( ! function_exists( 'KirkiMain' ) ) {
58 /**
59 * This function for entry point
60 */
61 function KirkiMain() {
62 return KirkiMain::init();
63 }
64
65 try {
66 // kick-off the plugin.
67 KirkiMain();
68 } catch ( Exception $e ) {
69 HelperFunctions::store_error_log( wp_json_encode( $e ) );
70 }
71 }
72 }