connector-wordpress/source/uninstall.php

11 lines
259 B
PHP
Raw Permalink Normal View History

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