connector-wordpress/source/connector-mobilizon/uninstall.php

11 lines
259 B
PHP
Raw Normal View History

2021-01-08 14:08:40 +01:00
<?php
require_once __DIR__ . '/includes/constants.php';
require_once __DIR__ . '/includes/settings.php';
// If uninstall.php is not called by WordPress, exit.
if (!defined('WP_UNINSTALL_PLUGIN')) {
exit;
}
MobilizonConnector\Settings::deleteAllOptions();