# easy-basic-authentication/3.0/uninstall.php

Easy Basic Authentication – Add basic auth to site or admin area, version 3.0. 8 lines.

- Page: https://pluginprobe.com/plugins/easy-basic-authentication/3.0/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/easy-basic-authentication/3.0/raw/uninstall.php
- Modified: 2024-11-19T05:08:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-basic-authentication/3.0/code/uninstall.php#L10-L20`.

```php
<?php
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    exit;
}

global $wpdb;

$wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name LIKE 'basic_auth_plugin_%'");
```
