# wp-parsely/3.14.1/uninstall.php

Parse.ly, version 3.14.1. 29 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.14.1/raw/uninstall.php
- Modified: 2022-05-02T10:45:56+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/wp-parsely/3.14.1/code/uninstall.php#L10-L20`.

```php
<?php
/**
 * Parse.ly plugin uninstaller
 *
 * Deletes the `parsely` option from the database.
 *
 * @package Parsely
 * @since   3.0.0
 */

declare(strict_types=1);

namespace Parsely;

// If uninstall.php is not called by WordPress, die.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	die;
}

$parsely_option_name = 'parsely';

delete_option( $parsely_option_name );

// For site options in Multisite.
delete_site_option( $parsely_option_name );

// Delete page options.
delete_metadata( 'user', -1, 'wp_parsely_page', '', true );

```
