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

46 lines
806 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?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;