| 1 |
<?php |
| 2 |
/** |
| 3 |
* Uninstall script for GutSliderBlocks |
| 4 |
* |
| 5 |
* @package GutSliderBlocks |
| 6 |
*/ |
| 7 |
|
| 8 |
// If uninstall not called from WordPress, then exit. |
| 9 |
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
|
| 13 |
// Load the main plugin file to access the cleanup method. |
| 14 |
require_once plugin_dir_path( __FILE__ ) . 'slider-blocks.php'; |
| 15 |
|
| 16 |
// Cleanup the plugin data. |
| 17 |
GutSlider\Plugin::cleanup(); |
| 18 |
|