| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www/wp-content/plugins/divi-pixel/ |
Upload File : |
<?php
/*
Plugin Name: Divi Pixel
Plugin URI: https://www.divi-pixel.com
Description: Divi Pixel is an all-in-one solution for all Divi users, from absolute beginners to professionals.
Version: 1.3.1
Author: Octolab OÜ
Author URI: https://www.divi-pixel.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dipi-divi-pixel
Domain Path: /languages
*/
/*********
* DEBUG *
*********/
if (!function_exists('dipi_log')) {
function dipi_log($log)
{
if (is_array($log) || is_object($log)) {
error_log(print_r($log, true));
} else {
error_log($log);
}
}
}
/*************
* Constants *
*************/
define('DIPI_FILE', __FILE__);
define('DIPI_BASE', plugin_basename(DIPI_FILE));
define('DIPI_DIR', plugin_dir_path(DIPI_FILE));
define('DIPI_URI', plugins_url('/', DIPI_FILE));
define('DIPI_PASSWORD_MASK', "************************");
define('DIPI_STORE_URL', 'http://divi-pixel.com');
define('DIPI_ITEM_ID', 32718);
/****************************
* Automatic plugin updates *
****************************/
if (!class_exists('EDD_SL_Plugin_Updater')) {
include dirname(__FILE__) . '/includes/edd/EDD_SL_Plugin_Updater.php';
}
new EDD_SL_Plugin_Updater(DIPI_STORE_URL, __FILE__, array(
'version' => '1.3.1', // current version number
'license' => trim(get_option('dipi_license')),
'item_id' => constant("DIPI_ITEM_ID"),
'author' => 'Divi Pixel',
'url' => home_url(),
'beta' => 'on' === get_option('dipi_enable_beta_program'),
));
/*********************
* Plugin Activation *
*********************/
if (!is_network_admin()) {
$theme = wp_get_theme();
if ('Divi' == $theme->name || stripos($theme->parent_theme, 'Divi') !== false) {
require_once plugin_dir_path(__FILE__) . 'includes/plugin.php';
}
}