mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
c98aee2d55
fixes #38
18 lines
No EOL
333 B
PHP
18 lines
No EOL
333 B
PHP
<?php
|
|
/**
|
|
* Fired when the plugin is uninstalled.
|
|
*
|
|
* @package PluginName
|
|
* @author TODO
|
|
* @license GPL-2.0+
|
|
* @link TODO
|
|
* @version 1.0.0
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
// If uninstall, not called from WordPress, then exit
|
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
exit();
|
|
}
|
|
|
|
// TODO: Define uninstall functionality here
|