modern-events-calendar-lite/app/addons/divi/includes/Divi.php

45 lines
806 B
PHP
Executable file

<?php
class MECDIVI_Divi extends DiviExtension {
/**
* The gettext domain for the extension's translations.
*
* @since 1.0.0
*
* @var string
*/
public $gettext_domain = 'mecdivi-divi';
/**
* The extension's WP Plugin name.
*
* @since 1.0.0
*
* @var string
*/
public $name = 'divi';
/**
* The extension's version
*
* @since 1.0.0
*
* @var string
*/
public $version = '1.0.0';
/**
* MECDIVI_Divi constructor.
*
* @param string $name
* @param array $args
*/
public function __construct( $name = 'divi', $args = array() ) {
$this->plugin_dir = plugin_dir_path( __FILE__ );
$this->plugin_dir_url = plugin_dir_url( $this->plugin_dir );
parent::__construct( $name, $args );
}
}
new MECDIVI_Divi;