PluginProbe
Parse.ly / 3.1.3
Parse.ly v3.1.3
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / uninstall.php

uninstall.php in Parse.ly 3.1.3, at uninstall.php

24 lines 460 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Uninstall script for wp-parsely. It deletes the `parsely` option on the database.
4 *
5 * @package Parsely\wp-parsely
6 * @since 3.0.0
7 */
8
9 declare(strict_types=1);
10
11 namespace Parsely;
12
13 // If uninstall.php is not called by WordPress, die.
14 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
15 die;
16 }
17
18 $parsely_option_name = 'parsely';
19
20 delete_option( $parsely_option_name );
21
22 // For site options in Multisite.
23 delete_site_option( $parsely_option_name );
24