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

18 lines
331 B
PHP
Raw Normal View History

<?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