1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-01 10:53:15 +03:00
WordPress-Plugin-Boilerplate/plugin-name/uninstall.php
2014-01-02 16:44:06 -05:00

18 lines
383 B
PHP

<?php
/**
* Fired when the plugin is uninstalled.
*
* @package Plugin_Name
* @author Your Name <email@example.com>
* @license GPL-2.0+
* @link http://example.com
* @copyright 2014 Your Name or Company Name
*/
// If uninstall not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// @TODO: Define uninstall functionality here