1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-11-01 03:12:58 +02:00
WordPress-Plugin-Boilerplate/plugin-name/uninstall.php

17 lines
382 B
PHP
Raw Normal View History

<?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 2013 Your Name or Company Name
*/
2013-10-30 22:50:42 +02:00
// If uninstall not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// @TODO: Define uninstall functionality here