Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Add uninstall file
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueSilverio committed Feb 9, 2014
1 parent 516d636 commit ed0c5b5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugin-name.php
Expand Up @@ -6,7 +6,7 @@
* @author Your Name <email@example.com>
* @license GPL-2.0+
* @link http://example.com
* @copyright 2013 Your Name or Company Name
* @copyright 2014 Your Name or Company Name
*
* @wordpress-plugin
* Plugin Name: @TODO
Expand Down
17 changes: 17 additions & 0 deletions uninstall.php
@@ -0,0 +1,17 @@
<?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

0 comments on commit ed0c5b5

Please sign in to comment.