34 lines
699 B
PHP
34 lines
699 B
PHP
<?php
|
|
if (!defined('_PS_VERSION_'))
|
|
exit;
|
|
|
|
class Ant_Wp extends Module {
|
|
public function __construct() {
|
|
$this->name = 'ant_wp';
|
|
$this->tab = 'advertising_marketing';
|
|
$this->version = '1.0';
|
|
$this->author = 'Antadis';
|
|
$this->need_instance = 0;
|
|
|
|
$this->displayName = $this->l('WP generation');
|
|
$this->description = $this->l('Allows to generate WP docs');
|
|
}
|
|
|
|
public function install() {
|
|
|
|
if(!parent::install()) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public function uninstall() {
|
|
|
|
if(parent::uninstall() == false) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
}
|