sarkfultion
⌂
›
wp-content
›
plugins
›
easy-table-of-contents
sarkfultion
9 dreads
↑ redisq
📁
assets/
dreads
sarkfultion
dreads
📁
includes/
dreads
sarkfultion
dreads
📁
languages/
dreads
sarkfultion
dreads
📁
vendor/
dreads
sarkfultion
dreads
📄
changelog.txt
55,699 B
sarkfultion
dreads
📄
easy-table-of-contents.php
117,750 B
sarkfultion
dreads
📄
README.txt
23,135 B
sarkfultion
dreads
📄
uninstall.php
660 B
sarkfultion
dreads
📄
wpml-config.xml
144 B
sarkfultion
dreads
redisq: uninstall.php
<?php /** * Delete plugin data when plugin is uninstalled * @since 2.0.73 * */ // Exit if accessed directly if( !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit; /** * Delete data when delete data option is enabled * @since 2.0.73 * */ function eztoc_delete_data_on_uninstall() { $ez_toc_options = get_option( 'ez-toc-settings' ); if ( is_array( $ez_toc_options ) && ! empty( $ez_toc_options['delete-data-on-uninstall'] ) ) { delete_option( 'ez-toc-settings' ); delete_option( 'ez-toc-post-meta-content' ); delete_option( 'ez_toc_do_activation_redirect' ); } } eztoc_delete_data_on_uninstall();
sarkfultion