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 / customizer / packages / controls / responsive / responsive.php
kirki / customizer / packages / controls / responsive Last commit date
src 2 months ago readme.txt 2 months ago responsive.php 5 months ago
responsive.php
56 lines
1 <?php
2 /**
3 * Plugin Name: Kirki Responsive
4 * Plugin URI: https://www.themeum.com
5 * Description: Responsive control for Kirki Customizer Framework.
6 * Version: 1.1
7 * Author: Themeum
8 * Author URI: https://www.themeum.com
9 * License: GPL-3.0
10 * License URI: https://oss.ninja/gpl-3.0?organization=Kirki%20Framework&project=control%20input%20slider
11 * Text Domain: kirki-responsive
12 * Domain Path: /languages
13 *
14 * @package kirki-responsive
15 */
16
17 defined( 'ABSPATH' ) || exit;
18
19 if ( ! function_exists( 'kirki_load_responsive_control' ) ) {
20
21 /**
22 * Load responsive control.
23 */
24 function kirki_load_responsive_control() {
25
26 // Stop, if Kirki is not installed.
27 if ( ! defined( 'KIRKI_VERSION' ) ) {
28 return;
29 }
30
31 // Stop, if Kirki controls are already loaded.
32 if ( defined( 'KIRKI_CONTROLS_VERSION' ) ) {
33 return;
34 }
35
36 // Stop, if Kirki Responsive is already installed.
37 if ( class_exists( '\Kirki\Responsive\Init' ) ) {
38 return;
39 }
40
41 if ( ! function_exists( 'get_plugin_data' ) ) {
42 require_once ABSPATH . 'wp-admin/includes/plugin.php';
43 }
44
45 $plugin_data = get_plugin_data( __FILE__ );
46
47 define( 'KIRKI_RESPONSIVE_VERSION', $plugin_data['Version'] );
48 define( 'KIRKI_RESPONSIVE_PLUGIN_FILE', __FILE__ );
49
50 new \Kirki\Responsive\Init();
51
52 }
53 add_action( 'plugins_loaded', 'kirki_load_responsive_control' );
54
55 }
56