PluginProbe
Parse.ly / 3.23.4
Parse.ly v3.23.4
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.23.4, at uninstall.php

29 lines 531 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Parse.ly plugin uninstaller
4 *
5 * Deletes the `parsely` option from the database.
6 *
7 * @package Parsely
8 * @since 3.0.0
9 */
10
11 declare(strict_types=1);
12
13 namespace Parsely;
14
15 // If uninstall.php is not called by WordPress, die.
16 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
17 die;
18 }
19
20 $parsely_option_name = 'parsely';
21
22 delete_option( $parsely_option_name );
23
24 // For site options in Multisite.
25 delete_site_option( $parsely_option_name );
26
27 // Delete page options.
28 delete_metadata( 'user', -1, 'wp_parsely_page', '', true );
29