PluginProbe
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.2
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.2
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
66 lines 1.5 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.2
11 * Author: Kirki
12 * Author URI: https://kirki.com
13 * Text Domain: kirki
14 * Domain Path: /languages
15 * Requires at least: 5.0
16 * Requires PHP: 7.0
17 */
18
19 use Kirki\HelperFunctions;
20
21 if ( ! defined( 'ABSPATH' ) ) {
22 exit; // Exit if accessed directly.
23 }
24
25
26
27 if ( ! class_exists( 'KirkiProMain' ) && ! class_exists( 'KirkiMain' ) && ! class_exists( 'Droip' ) ) {
28 require_once __DIR__ . '/vendor/autoload.php';
29 require_once __DIR__ . '/customizer/class-customizer.php';
30 require_once __DIR__ . '/includes/KirkiBase.php';
31
32 if (!defined('KIRKI_PLUGIN_FILE')) {
33 define('KIRKI_PLUGIN_FILE', plugin_dir_path(__FILE__) . 'kirki.php');
34 }
35
36 final class KirkiMain extends KirkiBase {
37
38 protected function get_plugin_file() {
39 return __FILE__;
40 }
41
42 protected function load_version_specific_events() {
43 }
44 }
45
46 /**
47 * Initilizes the main plugin
48 *
49 * @return \Kirki
50 */
51 if ( ! function_exists( 'KirkiMain' ) ) {
52 /**
53 * This function for entry point
54 */
55 function KirkiMain() {
56 return KirkiMain::init();
57 }
58
59 try {
60 // kick-off the plugin.
61 KirkiMain();
62 } catch ( Exception $e ) {
63 HelperFunctions::store_error_log( wp_json_encode( $e ) );
64 }
65 }
66 }