fields
4 months ago
images
7 months ago
modules
4 months ago
DiviAmelia.php
5 years ago
loader.php
7 months ago
DiviAmelia.php
48 lines
| 1 | <?php |
| 2 | |
| 3 | class DIVI_DiviAmelia extends DiviExtension |
| 4 | { |
| 5 | /** |
| 6 | * The gettext domain for the extension's translations. |
| 7 | * |
| 8 | * @since 1.0.0 |
| 9 | * |
| 10 | * @var string |
| 11 | */ |
| 12 | public $gettext_domain = 'divi-divi_amelia'; |
| 13 | |
| 14 | /** |
| 15 | * The extension's WP Plugin name. |
| 16 | * |
| 17 | * @since 1.0.0 |
| 18 | * |
| 19 | * @var string |
| 20 | */ |
| 21 | public $name = 'divi_amelia'; |
| 22 | |
| 23 | /** |
| 24 | * The extension's version |
| 25 | * |
| 26 | * @since 1.0.0 |
| 27 | * |
| 28 | * @var string |
| 29 | */ |
| 30 | public $version = '1.0.0'; |
| 31 | |
| 32 | /** |
| 33 | * DIVI_DiviAmelia constructor. |
| 34 | * |
| 35 | * @param string $name |
| 36 | * @param array $args |
| 37 | */ |
| 38 | public function __construct($name = 'divi_amelia', $args = array()) |
| 39 | { |
| 40 | $this->plugin_dir = plugin_dir_path(__FILE__); |
| 41 | $this->plugin_dir_url = plugin_dir_url($this->plugin_dir); |
| 42 | |
| 43 | parent::__construct($name, $args); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | new DIVI_DiviAmelia; |
| 48 |