# code-snippets/3.6.3/uninstall.php

Code Snippets, version 3.6.3. 19 lines.

- Page: https://pluginprobe.com/plugins/code-snippets/3.6.3/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/code-snippets/3.6.3/raw/uninstall.php
- Modified: 2022-10-26T07:43:12+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/code-snippets/3.6.3/code/uninstall.php#L10-L20`.

```php
<?php
/**
 * Cleans up data created by this plugin
 *
 * @package Code_Snippets
 * @since   2.0.0
 */

namespace Code_Snippets\Uninstall;

// Ensure this plugin is actually being uninstalled.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) || defined( 'CODE_SNIPPETS_PRO' ) && CODE_SNIPPETS_PRO ) {
	return;
}

require_once __DIR__ . '/php/uninstall.php';

uninstall_plugin();

```
